Skip to content

Commit

Permalink
[#2939] Change default on create dataset for none org user
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 11, 2012
1 parent 0407a5d commit a1e5188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/auth/create.py
Expand Up @@ -8,7 +8,7 @@

def package_create(context, data_dict=None):
user = context['user']
check1 = asbool(config.get('ckan.auth.create_dataset_if_not_in_organization', True)) \
check1 = asbool(config.get('ckan.auth.create_dataset_if_not_in_organization', False)) \
or new_authz.has_user_permission_for_some_org(user, 'create_dataset')

if not check1:
Expand Down

0 comments on commit a1e5188

Please sign in to comment.