Skip to content

Commit

Permalink
[#2939] Package schema now allows private field to be set
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 3, 2012
1 parent c540a2e commit 69615af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/logic/schema.py
Expand Up @@ -30,6 +30,7 @@
user_password_not_empty,
isodate,
int_validator,
boolean_validator,
user_about_validator,
vocabulary_name_validator,
vocabulary_id_not_changed,
Expand Down Expand Up @@ -127,6 +128,7 @@ def default_package_schema():
'tags': default_tags_schema(),
'extras': default_extras_schema(),
'owner_org': [ignore_missing, unicode],
'private': [ignore_missing, boolean_validator],
'relationships_as_object': default_relationship_schema(),
'relationships_as_subject': default_relationship_schema(),
'groups': {
Expand Down

0 comments on commit 69615af

Please sign in to comment.