Skip to content

Commit

Permalink
[#2939] Add delete_dataset permission
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 10, 2012
1 parent b4baa7e commit 819233a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/new_authz.py
Expand Up @@ -56,7 +56,7 @@ def is_authorized(action, context, data_dict=None):
# these are the premissions that roles have
ROLE_PERMISSIONS = {
'admin': ['admin'],
'editor': ['read', 'update'],
'editor': ['read', 'update', 'delete_dataset'],
'member': [''],
}

Expand Down

0 comments on commit 819233a

Please sign in to comment.