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 #1457

Closed
5 of 6 tasks
kulmann opened this issue May 25, 2020 · 3 comments
Closed
5 of 6 tasks

Roles & Permissions #1457

kulmann opened this issue May 25, 2020 · 3 comments
Assignees

Comments

@kulmann
Copy link
Member

kulmann commented May 25, 2020

Things to do for roles & permissions:

  • Concept session
  • protobuf spec for roles and permissions (intertwined with settings bundles)
  • grpc services for... Prototyping for roles & permissions product#85
    • registering roles and permissions (along with settings bundles)
    • getting and setting roles of a user
  • when getting settings bundles for a user, filter out settings that are available for the user
@kulmann
Copy link
Member Author

kulmann commented May 28, 2020

For defining permissions we aim to follow microsoft graph with their Resource.Operation.Constraint style. Examples:

resources:

  • all files
  • file with id xy
  • all shares
  • pending shares
  • share with id xy
  • all settings of a bundle
  • setting with identifier xy

operations (not all of them for certain resources):

  • create
  • read
  • update
  • delete

constraints:

  • user "me"
  • all users
  • all users of a certain group
  • all users of a certain space

Important remark: We will save actual file permissions in ACLs. The permissions serve as blueprint that get translated into ACLs then.

cc @felixboehm @pmaier1 @micbar

@kulmann kulmann self-assigned this May 29, 2020
@kulmann
Copy link
Member Author

kulmann commented Jul 8, 2020

We decided to investigate persisting roles as SettingsBundles and to introduce a new setting type PermissionSetting. Each setting will potentially be tied to a resource or a list of resources (file, user, ...). This gives us the flexibility to compose a role as a list of permissions and at the same time provide meta data for the role in additional settings (e.g. StringSetting).

@haribhandari07 haribhandari07 transferred this issue from owncloud/ocis-settings Jan 25, 2021
@micbar micbar mentioned this issue Feb 17, 2021
16 tasks
@phil-davis
Copy link
Contributor

@kulmann this is an old issue that was transferred from the archived ocis-settings repo a few weeks ago.
Please close if no longer relevant.

@settings settings bot removed the p3-medium label Apr 7, 2021
@kulmann kulmann closed this as completed Apr 19, 2021
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

No branches or pull requests

2 participants