Repository navigation
server: introduce USE_RECIPIENT for reading other users' recipients - #119
Merged
Merged
Conversation
littlegrasscao
force-pushed
the
server/split2/11c-use-recipient
branch
from
October 16, 2026 00:17
286e826 to
4fdf396
Compare
littlegrasscao
force-pushed
the
server/split2/11c-use-recipient
branch
from
October 16, 2026 00:41
4fdf396 to
1f67e34
Compare
littlegrasscao
force-pushed
the
server/split2/11c-use-recipient
branch
from
October 19, 2026 17:12
1f67e34 to
4d4e335
Compare
zhu-tom
added this pull request to stack #116
October 19, 2026 19:06
zhu-tom
approved these changes
Oct 19, 2026
littlegrasscao
force-pushed
the
server/split2/11c-use-recipient
branch
from
October 19, 2026 21:43
4d4e335 to
61794b9
Compare
littlegrasscao
force-pushed
the
server/split2/11c-use-recipient
branch
3 times, most recently
from
October 19, 2026 22:31
a251778 to
a729461
Compare
littlegrasscao
force-pushed
the
server/split2/11c-use-recipient
branch
2 times, most recently
from
October 21, 2026 17:01
b9bc3fd to
ea28c0b
Compare
littlegrasscao
force-pushed
the
server/split2/11c-use-recipient
branch
from
October 21, 2026 18:55
ea28c0b to
09b066d
Compare
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.
Summary
USE_RECIPIENTprivilege, checked throughCatalogConnector#authorizeGET /recipientslists every recipient for a caller withUSE_RECIPIENT, and only the caller's own recipients otherwiseGET /recipients/{recipient}needs the caller to own the recipient or holdUSE_RECIPIENT; otherwise it returns 403PERMISSION_DENIED. Callers can no longer see the activation URL of someone else's recipient without the privilegelocal-catalog.ymlalso holdUSE_RECIPIENT; carol still does notUSE_RECIPIENTTODOs from server: add provider-admin recipient entities and CRUD #98Testing
mvn clean install: 125 tests passedRecipientReadPrivilegeTest:USE_RECIPIENT, lists only her own recipient, while bob, who holdsUSE_RECIPIENT, lists both alice's and carol's