AnsweredAssumed Answered

Difficult : Setting a Write Only permission on a node folder

Question asked by kroax on Jun 27, 2007
Latest reply on Jul 19, 2011 by fuad_gafarov

I managed to add a custom role in the list box on the user interface (in addition to "Consumer", "Contributor", etc.) when we invite a user in a space. This role is named : "WriteOnly". The problem is I don't managed to configure the .xml file permissionDefinitions.xml so as to associate a Write - Only - permission to the "WriteOnly" role.

My code is (which doesn't work) is :

<permissionGroup name="WriteOnly" expose="true"
         <includePermissionGroup permissionGroup="AddChildren"
            type="sys:base" />
         <includePermissionGroup permissionGroup="Write"
            type="sys:base" />
<permissionSet type="cm:folder" expose="selected">

      <!– Content specific roles.                                                       –>

      <permissionGroup name="WriteOnly" extends="true" expose="true" />
      <!– The low level permission to control setting the owner of a node               –>
      <permission name="_WriteOnly" expose="false"
         <grantedToGroup permissionGroup="WriteOnly" />
         <!– require to be able to reach the node and set properties in the node         –>
         <!–         Commented out parent permission check …–>
         <requiredPermission on="node" name="ReadContent"
            implies="true" />


Thanks for your help.