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:
Ieva
2025-10-08 13:37:12 +01:00
committed by GitHub
co-authored by gamab Gabriel MABILLE
parent bb1d7d9070
commit acbbfde256
13 changed files with 359 additions and 214 deletions
+2
View File
@@ -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
}