Repository navigation
feat(policy): add Delta Sharing actions for reading other owners' shares and recipients - #286
Conversation
…res and recipients admin:DeltaSharingUseShare and admin:DeltaSharingUseRecipient let a provider read shares and recipients that other users own, matching the USE_SHARE and USE_RECIPIENT privileges of the OpenSharing reference server. Writes stay with the owner.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Description
Adds
admin:DeltaSharingUseShareandadmin:DeltaSharingUseRecipient. They let aDelta Sharing provider read shares and recipients that other users own, matching
the
USE_SHAREandUSE_RECIPIENTprivileges of the OpenSharing reference server.Writes stay with the owner.
admin:*andadmin:DeltaSharing*cover both.Motivation
Needed by miniohq/aistor#8060 (OpenSharing provider API).
Tests
TestDeltaSharingUseActionschecks that both actions are valid and matched byadmin:*andadmin:DeltaSharing*. Removing either action fromSupportedAdminActionsfails it.Summary by CodeRabbit