Basic UCD update
This commit is contained in:
parent
3849990e98
commit
6f1e97c472
|
@ -3,27 +3,37 @@
|
||||||
"_version" : "1.0.0",
|
"_version" : "1.0.0",
|
||||||
"_name" : "Basic Use Case Descriptor",
|
"_name" : "Basic Use Case Descriptor",
|
||||||
|
|
||||||
"_schema" : {},
|
"_description" : "Simple UCD",
|
||||||
|
|
||||||
|
|
||||||
"_description" : "Simple testing UCD",
|
|
||||||
"_creationInfo": {
|
"_creationInfo": {
|
||||||
"_user" : {
|
"_user" : {
|
||||||
"_username": "fabio.sinibaldi"
|
"_username": "fabio.sinibaldi"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"_schema" :{ "title" : {"_min" : 1},
|
||||||
|
"section" : { "_max" : 1, "_min" : 1,
|
||||||
|
"_children" : [
|
||||||
|
{"fileset" :{"_type" : "RegisteredFileSet", "_min": 1}},
|
||||||
|
{"title" : {"_min" : 1}}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"_dataAccessPolicies" : [
|
"_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" : [
|
"_handlers" : [
|
||||||
{
|
{
|
||||||
"_id" : "DEFAULT-SINGLE-STEP",
|
"_id" : "DEFAULT-SINGLE-STEP",
|
||||||
"_type" : "LifecycleManagement",
|
"_type" : "LifecycleManagement",
|
||||||
"_configuration" : {
|
"_configuration" : {
|
||||||
"step_access" : [
|
"step_access" : [
|
||||||
{"STEP" : "PUBLISH", "roles" :[ "FakeAdmin"]}
|
{"STEP" : "PUBLISH", "roles" :[ "Admin"]}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue