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

Permission management for users #161

Open
rettichschnidi opened this issue Oct 10, 2024 · 2 comments
Open

Permission management for users #161

rettichschnidi opened this issue Oct 10, 2024 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@rettichschnidi
Copy link
Contributor

Goal

As an enterprise users, I want to be able to grant the users of the webinterface different (minimal) capabilities, so that e.g. developers can not take down the whole fleet.

Ideas

  • Users should be allowed to manage only a specific device
  • Users should be limited in what devices they can observere
@b-rowan
Copy link
Contributor

b-rowan commented Oct 10, 2024

There are some rudimentary permissions already included, such as device.read and device.write. How would you suggest we go about adding per-device permissions? I thought about a tagging system for a while, but we kindof have hardware for that now.

Here are my ideas -

  1. Specific permissions like device.{uuid}.[read|write|delete], which would require a backward incompatible change to device.*.[read|write|delete] from device.[read|write|delete]
  2. Hardware based permissions for devices, so device.hardware.{hw_revision}.[read|write|delete]. Also backwards incompatible.
  3. Both? device.uuid.{uuid}.[read|write|delete], device.hardware.{hw_revision}.[read|write|delete].

@easybe easybe added the enhancement New feature or request label Oct 10, 2024
@rettichschnidi
Copy link
Contributor Author

rettichschnidi commented Oct 10, 2024

Wow, that was really fast. Before I can give you an answer I need to talk to @easybe and @tsagadar.

@tsagadar tsagadar added this to the v0.5.0 milestone Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants