Lets say, Author-A has locked the page and he triggered the workflow. In, workflow I need to unlock the page using system user/super user (should not use admin session). How can I achieve it?
Tried below steps, but no luck:
1) created system user and provided jcr:all for content, workflow, etc/home. Am I missed to provide some permission still? what are the required permission for system user to lock and unlock, even its locked by other user?
The user who has locked the page can only unlock the page. No other users even with all rights could unlock the same page.
So, Instead the current user who is triggering the workflow, the user should only start workflow and then you can use system user to lock it in the first process step and then after your workflow process/participation steps, if page is required to be unlocked, you can use same sytem user session to unlock it.
The only rights required to lock/unlock pages is jcr:lockManagement
If you are looking for specific permissions, its "jcr:lockManagement" and you can add it from crxde "Access Control" tab Or from the new user management console if using 6.5. See below for more details:
"The "admin" account can unlock any page by opening the page and clicking on "Unlock Page" from the page properties drop down
NOTE: The original user holding the lock does have permission to unlock the page. However, other users, even if a member of the administrators group, DO NOT have the right to unlock pages that have been locked. Only the "admin" account has this right."