Skip to content
Snippets Groups Projects
Commit 874d2cc9 authored by Henrique Varella Ehrenfried's avatar Henrique Varella Ehrenfried
Browse files

Fix permissions on geolocation

parent 6566b819
No related branches found
No related tags found
1 merge request!1Acl testing
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
}, },
"user_id": { "user_id": {
"type": "number", "type": "number",
"required": true "required": false
} }
}, },
"validations": [], "validations": [],
...@@ -63,12 +63,6 @@ ...@@ -63,12 +63,6 @@
"principalId": "$everyone", "principalId": "$everyone",
"permission": "DENY" "permission": "DENY"
}, },
{
"accessType": "WRITE",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
},
{ {
"accessType": "READ", "accessType": "READ",
"principalType": "ROLE", "principalType": "ROLE",
...@@ -80,6 +74,13 @@ ...@@ -80,6 +74,13 @@
"principalType": "ROLE", "principalType": "ROLE",
"principalId": "admin", "principalId": "admin",
"permission": "ALLOW" "permission": "ALLOW"
},
{
"accessType": "EXECUTE",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW",
"property": "create"
} }
], ],
"methods": {} "methods": {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment