read acl set on the model
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2021-06-29 15:31:58 +02:00
parent a51494e784
commit 15c7c0cb4b
2 changed files with 11 additions and 3 deletions

View File

@ -80,13 +80,15 @@
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}, {
},
{
"property": "logout",
"accessType": "EXECUTE",
"principalType": "ROLE",
"principalId": "$authenticated",
"permission": "ALLOW"
}, {
},
{
"property": "validateToken",
"accessType": "EXECUTE",
"principalType": "ROLE",

View File

@ -14,5 +14,11 @@
"description": {
"type": "string"
}
}
},
"acls": [{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}]
}