-
Notifications
You must be signed in to change notification settings - Fork 12k
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
RBAC: Add actionsets struct and write path #86108
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, left some comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions about comments, otherwise LGTM!
s.log.Debug("storing action set\n") | ||
name := s.GetActionSetName(resource, permission) | ||
actionSet := &ActionSet{ | ||
// folders:edit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think this comment can be removed
remove unnecessary comments Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
…na/grafana into eleijonmarck/actionsets/write-path
This reverts commit e3d3cc8.
why/what
We are implementing the actionsets, this is the first in a series of PRs to build the foundation for actionsets.
This PR introduces
Comes from: actionset implementation
https://github.com/grafana/identity-access-team/issues/615