Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 1013321 - Ensure permissions are correct in the SuperSearchUnreda…

…cted model. r=peterbe
  • Loading branch information...
commit 59106985d6859e2c16cfd4a3facbffacac54316e 1 parent df77a20
@AdrianGaudebert AdrianGaudebert authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  webapp-django/crashstats/supersearch/models.py
View
3  webapp-django/crashstats/supersearch/models.py
@@ -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())
Please sign in to comment.
Something went wrong with that request. Please try again.