gcube-cms-suite/test-data/profiledDocuments/profiles/rolesTesting.json

30 lines
927 B
JSON
Raw Normal View History

2022-03-30 18:39:10 +02:00
{
"_id" : "rolesTesting",
"_version" : "1.0.0",
"_name" : "Roles Testing",
"_description" : "Simple uC for roles management testing",
"_schema" : {},
"_creationInfo": {
"_user" : {
"_username": "fabio.sinibaldi"
}
},
2022-04-01 19:11:11 +02:00
"_dataAccessPolicies" : [
2022-03-30 18:39:10 +02:00
{"_policy" : {"_read" : "own", "_write" : "own"}, "_roles":[]},
{"_policy" : {"_read" : "any", "_write" : "none"}, "_roles":["FakeUser"],
2022-04-01 19:11:11 +02:00
"_enforcer": {"_filter" : "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
2022-03-30 18:39:10 +02:00
{"_policy" : {"_read" : "any", "_write" : "none"}, "_roles":["FakeEditor"]},
{"_policy" : {"_read" : "any", "_write" : "any"}, "_roles":["FakeAdmin"]}
],
2022-04-01 19:11:11 +02:00
"_handlers" : [
{
"_id" : "DEFAULT-SINGLE-PHASE",
"_type" : "LifecycleManagement",
"_configuration" : {
"step_access" : [
{"STEP" : "PUBLISH", "roles" :[ "FakeAdmin"]}
]
}
}
]
2022-03-30 18:39:10 +02:00
}