Skip to content

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

Merged
AndyScherzinger merged 7 commits into
stable34from
backport/61543/stable34
Jul 15, 2026
Merged

[stable34] feat(share): add public share-review API under OCP\Share\ShareReview#62132
AndyScherzinger merged 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>
@AndyScherzinger AndyScherzinger merged commit 0e66c6e into stable34 Jul 15, 2026
190 of 211 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/61543/stable34 branch July 15, 2026 06:45
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.

3 participants