Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve logic for revoking grants when moving and removing documents #129

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

chenxiaolong
Copy link
Owner

The DocumentsProvider base class already has a method for doing this. The previous revokeGrants() method did not properly revoke grants for tree URIs. This also fixes grants being revoked twice when a client app calls deleteDocument().

The DocumentsProvider base class already has a method for doing this.
The previous revokeGrants() method did not properly revoke grants for
tree URIs. This also fixes grants being revoked twice when a client app
calls deleteDocument().

Signed-off-by: Andrew Gunnerson <[email protected]>
@chenxiaolong chenxiaolong self-assigned this Jan 18, 2025
@chenxiaolong chenxiaolong merged commit 0903d02 into master Jan 18, 2025
1 check passed
chenxiaolong added a commit that referenced this pull request Jan 18, 2025
Signed-off-by: Andrew Gunnerson <[email protected]>
@chenxiaolong chenxiaolong deleted the revoke branch January 18, 2025 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant