AnsweredAssumed Answered

Role to prevent deleting parent but allow deleting children

Question asked by sjeandroz on Dec 13, 2012
Hello,
I would like to create a role to prevent users to delete the folder on wich the role is apply, but allow to delete all documents and folders who are under this parent folder.

I tried to create the following role

<permissionGroup name="Manager" allowFullControl="false" expose="true" >
          <includePermissionGroup type="sys:base" permissionGroup="DeleteChildren"/>
        <!–<includePermissionGroup type="sys:base" permissionGroup="DeleteNode"/>–>
         <includePermissionGroup permissionGroup="Collaborator" type="cm:cmobject" />
      </permissionGroup>


but I can't delete documents under the folder (I think it's because of documents inherits from the parent folder so they have my custom role, so they don't have the DeleteNode permission…)

Please help me…

Thanks in advance and sorry for my bad english…

Sjeandroz

Outcomes