AnsweredAssumed Answered

WriteProperties on cm:person?

Question asked by dilipl on Apr 12, 2011
Latest reply on Apr 9, 2012 by afaust
I am on alfresco 3.4c.
After creating a person (of type cm:person), I need to add an aspect to the person node. The user doing this is not an Admin, so I create a custom permissiongroup (writeproperties) on cm:person as follows….

   <permissionSet  type="cm:person" expose="selected">
      <permissionGroup name="WriteProperties" allowFullControl="false" expose="false" >
         <includePermissionGroup permissionGroup="WriteProperties" type="sys:base" />
      </permissionGroup>
   </permissionSet>

This permission is then allocated to another permissiongroup, on a custom node

<permissionSet type="abc:xyz" expose="selected">
      <permissionGroup name="updateUsers" allowFullControl="false" expose="true">
         <includePermissionGroup permissionGroup="WriteProperties" type="cm:person" />
      </permissionGroup>
</permissionSet>

Inspite of the logged in user having updateUsers, they get an access denied when writing an aspect to the person node. Can anybody help?

Outcomes