Added Task assignation to users

Now you can populate form lists using form schema
Some items changed from string to objectid
Proper validation for lists and objectids
This commit is contained in:
Eibriel
2015-04-15 10:25:31 -03:00
parent 6f4836b52b
commit a1108f50a6
2 changed files with 31 additions and 5 deletions

View File

@@ -133,13 +133,13 @@ def populate_node_types(old_ids={}):
"users": {
"type": "list",
"schema": {
"type": "string",
"type": "objectid",
}
},
"groups": {
"type": "list",
"schema": {
"type": "string",
"type": "objectid",
}
}
}
@@ -174,7 +174,9 @@ def populate_node_types(old_ids={}):
"status": {},
"owners": {
"schema": {
"users":{},
"users":{
"items": ['User'],
},
"groups":{}
}
},