I am using alfresco-content-services 5.2.0 enterprise version.
I have defined my custom role CUSTOM_DELETE something like below, here custom:baseAspect is my custom aspect.
<permissionSet type="custom:baseAspect" expose="selected">
<permissionGroup name="CUSTOM_DELETE_Permission" expose="false" allowFullControl="false"/><permissionGroup name="CUSTOM_DELETE" allowFullControl="false" expose="true">
<includePermissionGroup type="custom:baseAspect" permissionGroup="CUSTOM_DELETE_Permission" />
<includePermissionGroup type="sys:base" permissionGroup="Read" />
<includePermissionGroup type="sys:base" permissionGroup="WriteProperties"/>
<includePermissionGroup type="sys:base" permissionGroup="Delete"/></permissionGroup>
<permission name="_CUSTOM_DELETE_Permission" expose="false">
<grantedToGroup permissionGroup="CUSTOM_DELETE_Permission"/>
</permission></permissionSet>
Given :
I am creating any content which is having aspect (custom:baseAspect
) under public site with assigning permission like this
NODE_1 : CUSTOM_DELETE : GROUP_1
Expected Behavior :
Now if I login with user which under GROUP_1
, he/she should be able to Read
content, Write/Edit Properties
and Delete
the content.
Actual Behavior :
User is able to Read
content, Delete
content but not able to Write/Edit properties
.
Am I doing something wrong?
Regards, Vishal Z.
With which interface are you testing the behaviour? I.e. is it only that the action to edit properties is not showing up in the Share user interface or do you really get an access denied error when trying to modify the properties?
Hi @Alex Faust,
Thanks for your response. I am sorry for delay reply. Yes, it is s not showing up edit properties action in the Share user interface.
Hi
I suspect the UI is checking for Write rather than WriteProperties. Can you do the operation via the public API?
Andy
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.