Merge pull request '#6085 add acl authenticated' (!2188) from 6085-hotFix-addOwnedAlias into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2188
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
Jorge Penadés 2024-03-25 08:49:44 +00:00
commit 2e1e3f5abd
1 changed files with 16 additions and 1 deletions

View File

@ -23,5 +23,20 @@
"model": "VnUser", "model": "VnUser",
"foreignKey": "account" "foreignKey": "account"
} }
} },
"acls": [
{
"property": "create",
"accessType": "WRITE",
"principalType": "ROLE",
"principalId": "$authenticated",
"permission": "ALLOW"
}, {
"property": "deleteById",
"accessType": "WRITE",
"principalType": "ROLE",
"principalId": "$authenticated",
"permission": "ALLOW"
}
]
} }