Hello,
On Nuxeo 5.6 I had a code that worked.
Context : a folder fofo where a user Auser had'nt any rights. I used an automation chain
- User&group>login as Administrator
- set temporary acl "mycustom" on this folder fofo to this user Auser.
- Logout from Administrator
- Auser create a doc fofodoc in fofo
- Login as Administrator
- add some ACL on fofodoc to Auser
- remove temporary acl "mycustom" from Auser on fofo
- Logout from Administrator
On Nuxeo 5.8 this SAME code doesn't work anymore.
It said 2 messages :
- caused by: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation Auth.Logout
- caused by: org.nuxeo.ecm.core.api.DocumentSecurityException: Privilege 'Read' is not granted
So the code stopped directly after the first set ACL to true and Auth.Logout...
Is this a bug or new process in nuxeo 5.8 appeared ?
My only solution was to :
- grant ACL on "local" and not "mycustom" ACL for fofo with "NO overwite"
- then remove ACL on "local" "with overwrite" on fofo
- set acl on docfofo "with NO OVERWRITE"
- not removing any special ACL because custom ACL not working, just "local" works with all this special option on overwrite and not overwrite
thanks in advance