When approving a publication with restricted rights user there is an access 
permission error
--------------------------------------------------------------------------------------------

                 Key: NXP-1956
                 URL: http://jira.nuxeo.org/browse/NXP-1956
             Project: Nuxeo Enterprise Platform 5
          Issue Type: Bug
    Affects Versions: 5.1.3
            Reporter: Damien Dupraz
            Assignee: Damien Dupraz
             Fix For: 5.1.3


How to reproduce the bug :

-have 2 users, first user has access in a workspace, the second one is a 
Section manager but has no access at all in the first user workspace.

-the first user will create a doc in his workspace and submit it in a Section

-the second user will go on the submitted publication in order to approve it

=>when clicking on approve there is an error (READ right is not granted to the 
current user)

Explanation : when approving a part of code will try to get access on the 
"source" document (the document from which come the submitted publication) but 
as said earlier, the second user has not access at all on this document so pops 
up an error.

Solution : open a non restricted session before executing the incriminated bloc 
of code, then close it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to