Skip to content

Commit 7f7fcfd

Browse files
committed
feat(api): Explicitly block all from general about
1 parent 962675e commit 7f7fcfd

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

server/models/about.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@
99
"properties": {},
1010
"validations": [],
1111
"relations": {},
12-
"acls": [],
12+
"acls": [
13+
{
14+
"accessType": "*",
15+
"principalType": "ROLE",
16+
"principalId": "$everyone",
17+
"permission": "DENY"
18+
},
19+
{
20+
"accessType": "EXECUTE",
21+
"principalType": "ROLE",
22+
"principalId": "$everyone",
23+
"permission": "ALLOW",
24+
"property": "getActiveUsers"
25+
}
26+
],
1327
"methods": {}
1428
}

0 commit comments

Comments
 (0)