Basic UCD update

This commit is contained in:
Fabio Sinibaldi 2022-04-08 12:23:19 +02:00
parent 3849990e98
commit 6f1e97c472
1 changed files with 16 additions and 6 deletions

View File

@ -3,27 +3,37 @@
"_version" : "1.0.0",
"_name" : "Basic Use Case Descriptor",
"_schema" : {},
"_description" : "Simple testing UCD",
"_description" : "Simple UCD",
"_creationInfo": {
"_user" : {
"_username": "fabio.sinibaldi"
}
},
"_schema" :{ "title" : {"_min" : 1},
"section" : { "_max" : 1, "_min" : 1,
"_children" : [
{"fileset" :{"_type" : "RegisteredFileSet", "_min": 1}},
{"title" : {"_min" : 1}}
]
}
},
"_dataAccessPolicies" : [
{"_policy" : {"_read" : "own", "_write" : "own"}, "_roles":[]}
{"_policy" : {"_read" : "own", "_write" : "own"}, "_roles":["BaseUser"]},
{"_policy" : {"_read" : "any", "_write" : "none"}, "_roles":[],
"_enforcer": {"_filter" : {"_lifecycleInformation._phase" : {"$eq" : "Published"}}}},
{"_policy" : {"_read" : "any", "_write" : "none"}, "_roles":["Editor"]},
{"_policy" : {"_read" : "any", "_write" : "any"}, "_roles":["Admin"]}
],
"_handlers" : [
{
"_id" : "DEFAULT-SINGLE-STEP",
"_type" : "LifecycleManagement",
"_configuration" : {
"step_access" : [
{"STEP" : "PUBLISH", "roles" :[ "FakeAdmin"]}
{"STEP" : "PUBLISH", "roles" :[ "Admin"]}
]
}
}