cancel
Showing results for 
Search instead for 
Did you mean: 

PermissionDefinition and Properties

lascaux
Champ on-the-rise
Champ on-the-rise
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
2 REPLIES 2

andy
Champ on-the-rise
Champ on-the-rise
Hi

You may need to change settings in  web-client-config-actions.xml.

There are checks for the Write permissions rather thah the lower level permissions.

Regards

Andy

lascaux
Champ on-the-rise
Champ on-the-rise
Hi

You may need to change settings in  web-client-config-actions.xml.

There are checks for the Write permissions rather thah the lower level permissions.

Regards

Andy

Hum,
I checked inside the web-client-config-actions.xml and I did not see anything regarding the edition of properties …

I found the Edit Document Action … which required the Write permission (I assume this is normal since you need to have write permission to change the content of a document)
but just to allow the edition of properties without allowing the edition/write of content … I did not find anything !!!

Sylvain