Skip to content

feat(ocm): define directed grant operations - #287

Open
MahdiBaghbani wants to merge 5 commits into
cs3org:mainfrom
MahdiBaghbani:ocm-directed-grant-operations
Open

MahdiBaghbani wants to merge 5 commits into
cs3org:mainfrom
MahdiBaghbani:ocm-directed-grant-operations

Conversation

@MahdiBaghbani

@MahdiBaghbani MahdiBaghbani commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

This PR is part of cs3org/OCM-STA#52 and supports the contact and share contracts in cs3org/OCM-API#426 and cs3org/OCM-API#433

Summary

Define RPCs to check which directed share actions are supported, withdraw outgoing shares or decline incoming shares, and read the live binding and restrictions of an exact grant

This is the third PR in the schema stack, after contact removal. All three target upstream main because the intermediate branches are on my fork
The companion PRs are #285 and #286

Buf build and breaking checks passed. Buf lint adds 16 RPC_REQUEST_RESPONSE_UNIQUE diagnostics relative to this base because Gateway and provider RPCs share request and response types

flowchart LR
    A["Authenticated local user"] --> B["Check supported actions"]
    A --> C["Withdraw outgoing or decline incoming"]
    D["Authenticated service"] --> E["Read live grant binding"]
Loading

Signed-off-by: Mahdi Baghbani <mahdi-baghbani@azadehafzar.io>
Signed-off-by: Mahdi Baghbani <mahdi-baghbani@azadehafzar.io>
Signed-off-by: Mahdi Baghbani <mahdi-baghbani@azadehafzar.io>
Signed-off-by: Mahdi Baghbani <mahdi-baghbani@azadehafzar.io>
Signed-off-by: Mahdi Baghbani <mahdi-baghbani@azadehafzar.io>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant