Skip to content

Commit

Permalink
Merge pull request #2129 from AdrianGaudebert/1013321-fix-api-documen…
Browse files Browse the repository at this point in the history
…tation

Bug 1013321 - Added verification when building permissions for the Super...
  • Loading branch information
peterbe committed Jun 17, 2014
2 parents 0afae91 + 5910698 commit b0068e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp-django/crashstats/supersearch/models.py
Expand Up @@ -167,7 +167,8 @@ def __init__(self):
permissions = {}
for field_data in all_fields.values():
for perm in field_data['permissions_needed']:
permissions[perm] = True
if perm:
permissions[perm] = True

self.API_REQUIRED_PERMISSIONS = tuple(permissions.keys())

Expand Down

0 comments on commit b0068e8

Please sign in to comment.