Repository navigation
feat(spaces): allow managing spaces through the server - #994
Merged
Merged
Conversation
Advertise spaces.server_managed in the capabilities and let service accounts update and list grants, so the server can manage space membership automatically. Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
butonic
added a commit
to opencloud-eu/opencloud
that referenced
this pull request
Nov 12, 2026
Point reva at the head of opencloud-eu/reva#994 (reva workpackages plus the managed spaces change) to run the full CI against it. The replace uses the fork because the commit only exists in the PR. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
dragonchaser
approved these changes
Nov 12, 2026
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.
We now advertise
spaces.server_managedin the capabilities and let service accounts update and list grants on spaces. With AddGrant, UpdateGrant and RemoveGrant the service account holds the full set of grant management permissions, so the server can manage space membership automatically.The flag defaults to
false. It only has an effect once the server sets it, which needs a follow-up bump PR in opencloud. Clients can read it to hide the space membership management UI.Review focus:
ServiceAccountPermissionsinpkg/storage/pkg/decomposedfs/node/permissions.go: every service account can now update grants on any node, including space roots. Is that acceptable, or should this be limited to a dedicated service account?Assisted by Claude Code (claude-opus-5-5): it cherry-picked the change, resolved the conflicts and wrote this description.