Skip to content

[stable34] feat(share): add public share-review API under OCP\Share\ShareReview#62132

Open
backportbot[bot] wants to merge 7 commits into
stable34from
backport/61543/stable34
Open

[stable34] feat(share): add public share-review API under OCP\Share\ShareReview#62132
backportbot[bot] wants to merge 7 commits into
stable34from
backport/61543/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Jul 14, 2026

Copy link
Copy Markdown

Backport of PR #61543

Introduces OCP\Share\Events\ShareReviewAccessCheckEvent as the canonical
authorization gate event for ShareReview sources. The event carries the
source name and share ID for listener context, implements deny-wins
semantics, and stops propagation immediately on denial.

Assisted-by: ClaudeCode:claude-sonnet-4-6
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
…re\ShareReview

Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
…ssCheckEvent

Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Assisted-by: ClaudeCode:claude-fable-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Assisted-by: ClaudeCode:claude-fable-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Replace the time/timestamp string-int duo with a required
lastModifiedTimestamp, turn expiration into an expiration timestamp, rename
password to hasPassword and model the manage capability as a dedicated flag
so the permissions field fits int-mask-of<Constants::PERMISSION_*>.

Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
…bing entries

Replace the permissions bitmask on ShareReviewEntry with a list of
ShareReviewPermission objects carrying an opaque namespaced identifier
and localized display metadata, so apps can expose app-specific
permissions without squeezing them into OCP\Constants bits.

Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants