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

Design out RBAC for EPR #49

Open
ninjamast3r opened this issue Dec 5, 2023 · 1 comment
Open

Design out RBAC for EPR #49

ninjamast3r opened this issue Dec 5, 2023 · 1 comment
Assignees

Comments

@ninjamast3r
Copy link
Collaborator

Design how RBAC is going to work in the context of event/receiver/group interactions. Once we have a plan, spin off additional issues to tackle the pieces.

@caproven
Copy link
Collaborator

caproven commented Dec 6, 2023

Not sure which form we'd like this design to take (markdown file? diagram?) but I'll document some thoughts. Going through our mutations..

Creating events

Should require permission for the receiver it references. Prevents manually-created events bypassing automation which should post to a receiver. Should there be a generic "create event" permission on top of this?

Creating receivers

Should require basic permissions. Doesn't interact directly with other types so don't see need for further complexity.

Creating receiver groups

Should require permission for all included receivers. Limits receiver & group composition scope, you can't compose groups of receivers you don't have access to.

This sounds nice on paper but I can't see much benefit. Should someone be able to create groups (and therefore automation) around arbitrary receivers?

Enabling / disabling receiver groups

Should require basic permissions.

@ninjamast3r ninjamast3r self-assigned this Jan 12, 2024
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