AuthZ service: Expand the logic to also evaluate action sets (#112124)
* expand AuthZ service logic to also evaluate action sets * handle folder creation * fix test * simplify mapper code Co-authored-by: gamab <gabi.mabs@gmail.com> * more accurate variable name Co-authored-by: gamab <gabi.mabs@gmail.com> * break alerting import cycle * Apply suggestion from @gamab --------- Co-authored-by: gamab <gabi.mabs@gmail.com> Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
This commit is contained in:
co-authored by
gamab
Gabriel MABILLE
parent
bb1d7d9070
commit
acbbfde256
@@ -7,6 +7,7 @@ type checkRequest struct {
|
||||
IdentityType claims.IdentityType
|
||||
UserUID string
|
||||
Action string // Verb has been mapped into an action
|
||||
ActionSets []string
|
||||
Group string
|
||||
Resource string
|
||||
Verb string
|
||||
@@ -22,6 +23,7 @@ type listRequest struct {
|
||||
Resource string
|
||||
Verb string
|
||||
Action string
|
||||
ActionSets []string
|
||||
Options *ListRequestOptions
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user