Skip to content

Commit

Permalink
[1817][schema] Add users and groups to default group schema
Browse files Browse the repository at this point in the history
  • Loading branch information
johnglover committed Feb 22, 2012
1 parent 901282c commit d37d4b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ckan/logic/schema.py
Expand Up @@ -187,6 +187,16 @@ def default_group_schema():
'packages': {
"id": [not_empty, unicode, package_id_or_name_exists],
"__extras": [ignore]
},
'users': {
"name": [not_empty, unicode],
"capacity": [ignore_missing],
"__extras": [ignore]
},
'groups': {
"name": [not_empty, unicode],
"capacity": [ignore_missing],
"__extras": [ignore]
}
}
return schema
Expand Down

0 comments on commit d37d4b1

Please sign in to comment.