05-22-2017 04:51 AM
Hi all
I am looking for a way to set custom forms in Share to be read-only for general users, but to allow them to be edited by administrator level users. At the moment I am using the "read-only" = true argument in my form field in the share-config-custom.xml, which achieves the first part of my goal. However, I'm still looking for a way which the admin could override this and make changes to those form fields, if necessary.
Any tips would be greatly appreciated!
Marcus
05-22-2017 05:08 AM
The only way I can think of at the moment would be based on Surf Extension modules. Such an extension can be bound to specific conditions via an evaluator (in this case checking group membership / role against being admin) and provide overrides to configuration sections. In such a module you could provide a reduced set of form cofiguration directives that changes the read-only attribute.
05-22-2017 05:38 AM
Thanks for the reply. I will look into that.
Explore our Alfresco products with the links below. Use labels to filter content by product module.