<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Development Custom Roles by SDK Alfresco 7.1 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/development-custom-roles-by-sdk-alfresco-7-1/m-p/120697#M33142</link>
    <description>&lt;P&gt;Good afternoon everyone.&lt;/P&gt;&lt;P&gt;I'm creating custom "roles" using the SDK to generate AMP's.&lt;/P&gt;&lt;P&gt;These new roles are custom permissions.&lt;/P&gt;&lt;P&gt;I managed to create using the customPermissionsDefinitions.xml file for folders and nodes.&lt;/P&gt;&lt;P&gt;But when I create a Site these roles are not displayed in the Site's internal folders. Then I saw that I need a customSitesPermisionDefinitions.xml file, but when creating it inside the bootstrap with beans it is not displayed inside the Share.&lt;/P&gt;&lt;P&gt;Is there an example in the Community that I could follow, creating roles for folders and for folders within Sites?&lt;/P&gt;&lt;P&gt;Inside my boostrap-context.xml I have:&lt;BR /&gt;&amp;lt;bean id="permission-custom-platform.permissionDefinition" parent="permissionModelBootstrap"&amp;gt;&lt;BR /&gt;&amp;lt;property name="models"&amp;gt;&lt;BR /&gt;&amp;lt;list&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;alfresco/module/${project.artifactId}/model/customPermissionDefinitions.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;alfresco/module/${project.artifactId}/model/customSitePermissionDefinitions.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;Inside customSitePermissionDefinitions.xml I have the following description:&lt;BR /&gt;&amp;lt;namespaces&amp;gt;&lt;BR /&gt;&amp;lt;namespace uri="&lt;A href="http://www.alfresco.org/model/system/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/system/1.0&lt;/A&gt;" prefix="sys"/&amp;gt;&lt;BR /&gt;&amp;lt;namespace uri="&lt;A href="http://www.alfresco.org/model/content/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0&lt;/A&gt;" prefix="cm"/&amp;gt;&lt;BR /&gt;&amp;lt;namespace uri="&lt;A href="http://www.alfresco.org/model/site/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/site/1.0&lt;/A&gt;" prefix="st"/&amp;gt;&lt;BR /&gt;&amp;lt;/namespaces&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;permissionSet type="st:site" expose="selected" &amp;gt;&lt;/P&gt;&lt;P&gt;Can you help me please.&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 14:48:57 GMT</pubDate>
    <dc:creator>marcog</dc:creator>
    <dc:date>2022-05-10T14:48:57Z</dc:date>
    <item>
      <title>Development Custom Roles by SDK Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/development-custom-roles-by-sdk-alfresco-7-1/m-p/120697#M33142</link>
      <description>&lt;P&gt;Good afternoon everyone.&lt;/P&gt;&lt;P&gt;I'm creating custom "roles" using the SDK to generate AMP's.&lt;/P&gt;&lt;P&gt;These new roles are custom permissions.&lt;/P&gt;&lt;P&gt;I managed to create using the customPermissionsDefinitions.xml file for folders and nodes.&lt;/P&gt;&lt;P&gt;But when I create a Site these roles are not displayed in the Site's internal folders. Then I saw that I need a customSitesPermisionDefinitions.xml file, but when creating it inside the bootstrap with beans it is not displayed inside the Share.&lt;/P&gt;&lt;P&gt;Is there an example in the Community that I could follow, creating roles for folders and for folders within Sites?&lt;/P&gt;&lt;P&gt;Inside my boostrap-context.xml I have:&lt;BR /&gt;&amp;lt;bean id="permission-custom-platform.permissionDefinition" parent="permissionModelBootstrap"&amp;gt;&lt;BR /&gt;&amp;lt;property name="models"&amp;gt;&lt;BR /&gt;&amp;lt;list&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;alfresco/module/${project.artifactId}/model/customPermissionDefinitions.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;alfresco/module/${project.artifactId}/model/customSitePermissionDefinitions.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;Inside customSitePermissionDefinitions.xml I have the following description:&lt;BR /&gt;&amp;lt;namespaces&amp;gt;&lt;BR /&gt;&amp;lt;namespace uri="&lt;A href="http://www.alfresco.org/model/system/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/system/1.0&lt;/A&gt;" prefix="sys"/&amp;gt;&lt;BR /&gt;&amp;lt;namespace uri="&lt;A href="http://www.alfresco.org/model/content/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0&lt;/A&gt;" prefix="cm"/&amp;gt;&lt;BR /&gt;&amp;lt;namespace uri="&lt;A href="http://www.alfresco.org/model/site/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/site/1.0&lt;/A&gt;" prefix="st"/&amp;gt;&lt;BR /&gt;&amp;lt;/namespaces&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;permissionSet type="st:site" expose="selected" &amp;gt;&lt;/P&gt;&lt;P&gt;Can you help me please.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:48:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/development-custom-roles-by-sdk-alfresco-7-1/m-p/120697#M33142</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2022-05-10T14:48:57Z</dc:date>
    </item>
  </channel>
</rss>

