-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 9.10
-
Fix Version/s: 9.10-HF31, 10.10-HF06, 11.1, 2021.0
-
Component/s: Core VCS
Steps to reproduce:
- Configure Nuxeo to use a SQL Server database
- Start Nuxeo
- Log in as an admin
- Load the 3 SQL scripts in comment
- Block permission inheritance on Domain > Templates
- Log in as JS5676 / test
- Navigate to the default domain
- Observe that no document is displayed
- Observe this exception in the logs
ERROR [NuxeoRequestControllerFilter] remote=172.16.6.45,principal=JS5676,uri=/nuxeo/site/api/v1/search/pp/advanced_document_content/execute,session=702DD0FC37E46BBF540DAAEEE80F4BE8.nuxeo,thread=http-nio-0.0.0.0-8080-exec-1,info=Unhandled error was caught by the Filter org.nuxeo.ecm.core.api.DocumentSecurityException: Privilege 'Read' is not granted to 'JS5676' at org.nuxeo.ecm.core.api.AbstractSession.checkPermission(AbstractSession.java:215) at org.nuxeo.ecm.core.api.AbstractSession.refreshDocument(AbstractSession.java:2440) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.refresh(DocumentModelImpl.java:1437) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.isCheckedOut(DocumentModelImpl.java:658) at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentModelJsonWriter.writeEntityBody(DocumentModelJsonWriter.java:146) at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentModelJsonWriter.writeEntityBody(DocumentModelJsonWriter.java:107) at org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter.write(ExtensibleEntityJsonWriter.java:79) at org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter.write(AbstractJsonWriter.java:76) at org.nuxeo.ecm.core.io.marshallers.json.DefaultListJsonWriter.write(DefaultListJsonWriter.java:124) at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentModelListJsonWriter.write(DocumentModelListJsonWriter.java:56) at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentModelListJsonWriter.write(DocumentModelListJsonWriter.java:41) at org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter.write(AbstractJsonWriter.java:76)
- is related to
-
NXP-6004 Canonicalize read acl to by pass 4k db limits
- Resolved