<?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 Adding new permission Group, in an Alfresco module? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-new-permission-group-in-an-alfresco-module/m-p/253699#M206829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing an add-on module for Alfresco and I would like to add a new Permissions group, though I would like to avoid having to modify the permissionDefintions.xml file in the vanilla Alfresco installation. What I am wanting to do is add an 'Approver' permissions group that would include both contributor and editor, but include a 'approveContent' permission. This group should then be available in the returned list when I do permissionService.getSettablePermissions ( NodeRef ), where the NodeRef corresponds to a folder node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone suggest the best way to go about this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the meantime I did try adding my new permissionGroup in the permissionSet for "cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bject" and adding the permissionsGroup to the permissionSet for "cm:folder", but that did seem to do anything visible. I even tried adding a permissionSet corresponding to an aspect I defined, but that ended throwing a NulPointerException. I also looked at the following Wiki page, but I am still a little confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Security_and_Authentication#How_to_add_your_own_type_or_aspect.2C_assign_permissions_for_it.2C_configure_it_and_secure_a_service_that_uses_it_" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Security_and_Authentication#How_to_add_your_own_type_or_aspect.2C_assign_permissions_for_it.2C_configure_it_and_secure_a_service_that_uses_it_&lt;/A&gt;&lt;SPAN&gt;….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2011 23:18:53 GMT</pubDate>
    <dc:creator>ajmas</dc:creator>
    <dc:date>2011-01-27T23:18:53Z</dc:date>
    <item>
      <title>Adding new permission Group, in an Alfresco module?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-new-permission-group-in-an-alfresco-module/m-p/253699#M206829</link>
      <description>I am developing an add-on module for Alfresco and I would like to add a new Permissions group, though I would like to avoid having to modify the permissionDefintions.xml file in the vanilla Alfresco installation. What I am wanting to do is add an 'Approver' permissions group that would include both</description>
      <pubDate>Thu, 27 Jan 2011 23:18:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-new-permission-group-in-an-alfresco-module/m-p/253699#M206829</guid>
      <dc:creator>ajmas</dc:creator>
      <dc:date>2011-01-27T23:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new permission Group, in an Alfresco module?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-new-permission-group-in-an-alfresco-module/m-p/253700#M206830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Replying to my own question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the answer in the "&lt;/SPAN&gt;&lt;A href="http://www.alfresco.com/community/resources/books/professional-alfresco/" rel="nofollow noopener noreferrer"&gt;Professional Alfresco&lt;/A&gt;&lt;SPAN&gt;" book (page 118). I can create my own permission file adding the new permissionSet to associate with my role and then defining the permissionGroups and permissions in there. After that it is a question of creating a spring bean with parent "permissionModelBootstrap" and a model property pointing to my definitions file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 21:07:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-new-permission-group-in-an-alfresco-module/m-p/253700#M206830</guid>
      <dc:creator>ajmas</dc:creator>
      <dc:date>2011-02-01T21:07:41Z</dc:date>
    </item>
  </channel>
</rss>

