Skip to content
Snippets Groups Projects
Commit 6161c3ec authored by Derek Hudson's avatar Derek Hudson
Browse files

Removed the OPA policy's default create.

parent 3c048a04
No related branches found
No related tags found
1 merge request!493Removed the OPA policy's default create.
Pipeline #271340 failed
......@@ -38,7 +38,7 @@ check_errors[{"id": id, "message": "User is not authorized to create or update r
}
check_errors[{"id": id, "message": "The user is not authorized to perform this action", "reason": "Access denied", "code": "403"}] {
input.operation == ["create", "update", "purge", "delete"][_]
input.operation == ["update", "purge", "delete"][_]
owners := {o | o := input.records[x].acls.owners[_]}
count(owners & permissionSet) == 0
root_user == false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment