Ordered access policies
This commit is contained in:
parent
917587d276
commit
87df1c2f96
|
@ -98,15 +98,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"_dataAccessPolicies": [
|
"_dataAccessPolicies": [
|
||||||
{"_policy": {"_read": "none","_write": "none"},
|
{"_policy": {"_read": "any","_write": "any"},
|
||||||
"_roles": []},
|
"_roles": ["Data-Manager"]},
|
||||||
{"_policy": {"_read": "any","_write": "none"},
|
|
||||||
"_roles": ["Member"],
|
|
||||||
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
|
||||||
{"_policy": {"_read": "own","_write": "own"},
|
{"_policy": {"_read": "own","_write": "own"},
|
||||||
"_roles": ["Data-Editor"]},
|
"_roles": ["Data-Editor"]},
|
||||||
{"_policy": {"_read": "any","_write": "any"},
|
{"_policy": {"_read": "any","_write": "none"},
|
||||||
"_roles": ["Data-Manager"]}
|
"_roles": ["Member"],
|
||||||
|
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
||||||
|
{"_policy": {"_read": "none","_write": "none"},
|
||||||
|
"_roles": []}
|
||||||
],
|
],
|
||||||
"_handlers": [
|
"_handlers": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue