[opencms-dev] Set user permisions on resource creation

Ramon Gavira Sáenz ramon.gavira at sagasoluciones.com
Tue Jan 10 19:20:55 CET 2023


Hi,

I've got this situation: I need that some Users can only edit resources created by themselves, to do this I need to stablish permissions +w when the resource is created.
Is there any mapping possibility to do that by setting that mapping permissions for the current user?

For groups I've used something like this:

<mapping element="Restringido" mapto="permission:GROUP:+r+v+o|GROUP./UO-syrsa/Users:-i"/>

<layout element="Restringido" widget="GroupMultiSelectorWidget" configuration="groups=/UO-syrsa/GRUPO1,/UO-syrsa/GRUPO2"/>


Any Idea will be appreciated, thanks!!


________________________________
Ramón Gavira Sáenz





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20230110/e4de6e0a/attachment.htm>


More information about the opencms-dev mailing list