08-16-2018 08:43 PM
Hi,
We have an event listener that is triggered by a user action. It runs an operation that changes permission on the asset. We would like to be able to run an operation without giving the users ability to change permission on an asset. The event handler and operation are defined in Java.
Does anyone have a good code snippet to share?
Thank you!
08-17-2018 02:45 AM
Is UnrestrictedSessionRunner the right solution for this? https://github.com/nuxeo/nuxeo/blob/master/nuxeo-core/nuxeo-core-api/src/main/java/org/nuxeo/ecm/cor...
I see someone already tried to extend it for a similar task:https://answers.nuxeo.com/general/q/0c56b384bd954a14b1380e3bf3082348/Problems-with-the-class-Unrestr...
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.