-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF55, 2021.12
-
Component/s: Core VCS
-
Release Notes Summary:Read ACL for all versions of children are recomputed after a permission change.
-
Tags:
-
Backlog priority:775
-
Upgrade notes:
-
Sprint:nxplatform #45, nxplatform #46, nxplatform #47, nxplatform #48, nxplatform #49
-
Story Points:0
Pre-requisite :
- install nuxeo-tree-snapshot https://connect.nuxeo.com/nuxeo/site/marketplace/package/nuxeo-tree-snapshot?version=1.2.3
- create 2 users: userA and userB
Steps to reproduce:
- create a Workspace under /default-domain/workspaces and grant Write permission to userA
- as UserA, create a Versionable Folder and inside a regular Folder
- call this command to snapshot the Versionable Folder
curl -X POST 'http://localhost:8080/nuxeo/site/automation/Document.CreateTreeSnapshot' -H 'Nuxeo-Transaction-Timeout: 3' -H 'X-NXproperties: *' -H 'X-NXRepository: default' -H 'X-NXVoidOperation: false' -H 'content-type: application/json' -d '{"params":{},"input":"/default-domain/workspaces/workspace/snapfolder","context":{}}' -u userA:<PASSWORD>
- grant Read permission to userB on the Versionable Folder
- as userB, run a NXQL query (disable Elasticsearch if needed) to find the versions
select * from Document where ecm:isVersion=1
- observe that the query does not return any result
If the READ ACLs are built with "select nx_rebuild_read_acls()", then the results are displayed as expected
- is related to
-
NXP-28758 Allow ACLs on versions
- Resolved
- Is referenced in