AnsweredAssumed Answered

PermissionDefinition and Properties

Question asked by lascaux on Feb 7, 2007
Latest reply on Feb 7, 2007 by lascaux
Hi,

I tried to play with the permission definition file in order to allow to some people to edit the properties of a document without being allowed to modify the content of the document itselft.

For that, I create a new permissionGroup with the following definition :

       <permissionGroup name="ModifyProperties" allowFullControl="false" expose="true">
              <includePermissionGroup type="sys:base" permissionGroup="ReadProperties"/>
              <includePermissionGroup type="sys:base" permissionGroup="ReadChildren"/>
              <includePermissionGroup type="sys:base" permissionGroup="ReadContent"/>
              <includePermissionGroup type="sys:base" permissionGroup="WriteProperties"/>
       </permissionGroup>

but it does not allow the user with this permission to edit the properties (the EDIT button close to the properties of a document is not displayed)

I need to also add the "WriteContent" permission to enable the edit properties button.

       <permissionGroup name="ModifyProperties" allowFullControl="false" expose="true">
              <includePermissionGroup type="sys:base" permissionGroup="ReadProperties"/>
              <includePermissionGroup type="sys:base" permissionGroup="ReadChildren"/>
              <includePermissionGroup type="sys:base" permissionGroup="ReadContent"/>
              <includePermissionGroup type="sys:base" permissionGroup="WriteProperties"/>
              <includePermissionGroup type="sys:base" permissionGroup="WriteContent"/>
       </permissionGroup>

But then, the user can also re-upload another document content over the existing one …

Is it normal ?
Is is possible to setup the permission as I would like ?

Thanks

Sylvain

Outcomes