Access policies

This commit is contained in:
Fabio Sinibaldi 2023-01-27 12:55:06 +01:00
parent 99d8c9a626
commit 2f13be58e8
1 changed files with 9 additions and 37 deletions

View File

@ -98,43 +98,15 @@
}
},
"_dataAccessPolicies": [
{
"_policy": {
"_read": "any",
"_write": "any"
},
"_roles": []
},
{
"_policy": {
"_read": "any",
"_write": "none"
},
"_roles": [
"Guest"
],
"_enforcer": {
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"
}
},
{
"_policy": {
"_read": "any",
"_write": "none"
},
"_roles": [
"Admin"
]
},
{
"_policy": {
"_read": "any",
"_write": "any"
},
"_roles": [
"Data-Manager"
]
}
{"_policy": {"_read": "none","_write": "none"},
"_roles": []},
{"_policy": {"_read": "any","_write": "none"},
"_roles": ["Member"],
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
{"_policy": {"_read": "own","_write": "own"},
"_roles": ["Data-Editor"]},
{"_policy": {"_read": "any","_write": "any"},
"_roles": ["Data-Manager"]}
],
"_handlers": [
{