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

Add granular permissions for secondary owners #231

Open
kjlippold opened this issue Nov 27, 2024 · 0 comments
Open

Add granular permissions for secondary owners #231

kjlippold opened this issue Nov 27, 2024 · 0 comments
Assignees
Labels
backend Associated with the backend repository enhancement New feature

Comments

@kjlippold
Copy link
Contributor

Describe the feature you'd like and what it will do

API Keys should be decoupled from permissions, and permissions should be assignable to secondary owners by primary owners.

Why is this feature important?

Secondary owners currently have most of the same privileges of primary owners, and cannot be customized in any way. Giving primary owners the ability to control the permissions of secondary owners would let them safely allow secondary owners to perform certain tasks without having almost full access to a Thing.

Is your feature request related to a problem? Please describe.

No response

Any additional comments?

This feature could be combined with owner roles #110. Rather than (or in addition to) assigning permissions to users, permissions could be created for roles, and roles could be assigned to users. This would make it easier to define complex permissions one time and reuse them for multiple users/Things.

This shouldn't need to be as complex as AWS or GCP IAM, but those could serve as a template for what HydroServer needs.

@kjlippold kjlippold added enhancement New feature backend Associated with the backend repository labels Nov 27, 2024
@kjlippold kjlippold added this to the v0.13.0 milestone Nov 27, 2024
@kjlippold kjlippold self-assigned this Nov 27, 2024
@kjlippold kjlippold modified the milestones: v0.13.0, access-control Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Associated with the backend repository enhancement New feature
Projects
None yet
Development

No branches or pull requests

1 participant