Remove access_developer_docs as a permission type. It does not make sense to have permission for viewing the documentation.

On the downgrade method of the db script the assumption that all users with manage_api_keys had the access_developer_docs permission.
This commit is contained in:
Rebecca Law
2016-03-29 17:00:42 +01:00
parent 376a074f5f
commit c7c845cea6
5 changed files with 13 additions and 9 deletions

View File

@@ -306,7 +306,6 @@ SEND_TEXTS = 'send_texts'
SEND_EMAILS = 'send_emails'
SEND_LETTERS = 'send_letters'
MANAGE_API_KEYS = 'manage_api_keys'
ACCESS_DEVELOPER_DOCS = 'access_developer_docs'
PLATFORM_ADMIN = 'platform_admin'
VIEW_ACTIVITY = 'view_activity'
@@ -319,7 +318,6 @@ PERMISSION_LIST = [
SEND_EMAILS,
SEND_LETTERS,
MANAGE_API_KEYS,
ACCESS_DEVELOPER_DOCS,
PLATFORM_ADMIN,
VIEW_ACTIVITY]