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

30 lines
927 B
JSON

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