Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roles & Permissions: Basic backend (register/get/set) #110

Open
3 tasks done
exalate-issue-sync bot opened this issue Jul 6, 2020 · 2 comments
Open
3 tasks done

Roles & Permissions: Basic backend (register/get/set) #110

exalate-issue-sync bot opened this issue Jul 6, 2020 · 2 comments

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Jul 6, 2020

Description

  • Check if the settings entity could be re-used, if not Create a new Entity with API, Storage, Tests
  • Additional API for fetching a permission for a specific user
  • Clean error Handling, covered by tests

Estimation

  • best case: 3/5
  • worst case: 8

Review

  • Have it tested & Deployed
  • Show the tests
  • Show the docs

Operations

Register a Role

The register operation is done through the BundleService (from the proto file) on the SaveSettingsBundle RPC. The way to differentiate a role from a normal bundle is by its bundle type set to TYPE_ROLE.

Get the list of roles on an Account

This is supported by the ListRoleAssignments RPC using a ListRoleAssignmentsRequest message that contains an account UUID.

Set

This operation creates an assignment. This is when we link an accound (by its account uuid) with a role (by its bundle id). The operation responsible for this is AssignRoleToUser.

@exalate-issue-sync exalate-issue-sync bot added Exalated This issue is under sync OCIS-Sprint-14 p3-medium story User Story labels Jul 6, 2020
@exalate-issue-sync
Copy link
Author

Remote key is https://jira.owncloud.com/browse/OCIS-116

@exalate-issue-sync
Copy link
Author

Benedikt Kulmann commented: oCIS release PR owncloud/ocis#467

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants