Unable to access workspace after permissions are removed
--------------------------------------------------------

                 Key: NXP-1674
                 URL: http://jira.nuxeo.org/browse/NXP-1674
             Project: Nuxeo Enterprise Platform 5
          Issue Type: Bug
          Components: Core
    Affects Versions: 5.1.3
         Environment: Jboss 4.0.4GA
            Reporter: Dragos Ivan
            Assignee: Thierry Delprat
            Priority: Major
             Fix For: 5.1.3


For any workspace, if the permissions are removed via the interface or via the 
business logic, that workspace become inaccessible even by the Administrator.
To reproduce it, just create a workspace, then check the "Block permissions 
inheritance", then remove all local rights. The result is an exception 
(irelevant by it's content):

org.nuxeo.ecm.core.api.ClientException

org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.core.api.ClientException. message: Could not find Stateful bean: 
3j001-wl0kfn-f88ouxlk-1-f88pfjrx-as


What is more relevant is that the AbstractSession.checkPermission(Document, 
String) method will throw an exception if there's no permission found for the 
document...
The bottom line is that it's quite bad to give the possibility to have a 
workspace inaccessible by any means other than via business logic...

-- 
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