[PM-12473] Add delta-shaped PATCH endpoint for collection access - #8212
Draft
r-tome wants to merge 4 commits into
Draft
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## ac/pm-12473/collection-user-authorization-service #8212 +/- ##
=====================================================================================
+ Coverage 63.25% 68.68% +5.43%
=====================================================================================
Files 2383 2394 +11
Lines 103845 104358 +513
Branches 9409 9460 +51
=====================================================================================
+ Hits 65684 71681 +5997
+ Misses 35928 30339 -5589
- Partials 2233 2338 +105 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
r-tome
force-pushed
the
ac/pm-12473/collection-user-access-delta-endpoint
branch
from
August 14, 2026 10:29
bebf875 to
aaf8357
Compare
r-tome
force-pushed
the
ac/pm-12473/collection-user-authorization-service
branch
from
August 14, 2026 10:29
56c0576 to
896ca86
Compare
Adds a new, additive PATCH organizations/{orgId}/collections/{id} endpoint
behind a feature flag, accepting add/update/remove delta-shaped changes to a
collection's user and group access instead of the existing PUT endpoint's
full-list-replace model. Authorizes via ICollectionAuthorizationService.
Backed by new ModifyCollectionUserAccessCommand/ModifyCollectionGroupAccessCommand
(+ validators) and repository support (ModifyUserAccessAsync/ModifyGroupAccessAsync,
new stored procedures/migrations). The existing PUT endpoint is untouched.
r-tome
force-pushed
the
ac/pm-12473/collection-user-access-delta-endpoint
branch
from
August 14, 2026 10:54
aaf8357 to
43e0705
Compare
… ac/pm-12473/collection-user-access-delta-endpoint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎟️ Tracking
📔 Objective
📸 Screenshots