You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
violation contains {"field": "domain_id", "msg": "creating a new project requires a manager role in the domain scope for the domain where the project is being created."} if {
24
+
not "admin" in input.credentials.roles
25
+
"manager" in input.credentials.roles
26
+
not project_domain_matches_domain_scope
27
+
}
28
+
29
+
violation contains {"field": "domain_id", "msg": "creating a new project requires a manager role in the domain scope for the domain where the project is being created."} if {
violation contains {"field": "domain_id", "msg": "checking project-user-role assignment requires domain scope matching the domain of all targets."} if {
violation contains {"field": "domain_id", "msg": "granting a role to a user on a project requires admin or manager role in the domain scope."} if {
20
+
not "admin" in input.credentials.roles
21
+
not "manager" in input.credentials.roles
22
+
}
23
+
24
+
violation contains {"field": "domain_id", "msg": "granting a role to a user on a project requires domain scope matching the domain_id of the target project and role (or a global role)."} if {
0 commit comments