Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: only owner and dba can do custom role CRUD (#5659)

p0nyd16076f2c5b1
diff --git a/backend/api/v1/acl_config.go b/backend/api/v1/acl_config.go
index a583f3c7ec..3465bf7a21 100644
--- a/backend/api/v1/acl_config.go
+++ b/backend/api/v1/acl_config.go
@@ -26,6 +26,9 @@ var ownerAndDBAMethods = map[string]bool{
"RiskService/CreateRisk": true,
"RiskService/UpdateRisk": true,
"RiskService/DeleteRisk": true,
+ "RoleService/CreateRole": true,
+ "RoleService/UpdateRole": true,
+ "RoleService/DeleteRole": true,
}
var projectOwnerMethods = map[string]bool{