Forum Discussion
asimonalcion
May 21, 2024Copper Contributor
Permissions removal propogated to children with unique permissions but not in delta
2 issues:
- When a user is remove from a folder, it propagates to children with unique permissions
- The permission changes on the children are not reflected in the delta query when calling a deltaLink got from previous run.
Minimal rerpo for permission not being available in delta url:
- Create a folder and a file within it
- Add/Remove permission from child file to make it have unique permission
- Add a user to the parent folder
- Call /delta and get delta.nextLink
- Remove permission from parent folder
- Call link got from delta.nextLink (you'll see the child file is not present even though the permissions for it was changed)
The delta url is called with Prefer: deltashowremovedasdeleted,deltatraversepermissiongaps,deltashowsharingchanges,hierarchicalsharing header as suggested in the docs both the times. The problem only happen on the first the user is deleted and work on subsequent deletions.
Question also posted at https://learn.microsoft.com/en-us/answers/questions/1682649/permissions-removal-propogated-to-children-with-un
No RepliesBe the first to reply