Skip to content

Commit

Permalink
Bug 1013321 - Ensure permissions are correct in the SuperSearchUnreda…
Browse files Browse the repository at this point in the history
…cted model. r=peterbe
  • Loading branch information
adngdb committed Jun 17, 2014
1 parent df77a20 commit 5910698
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp-django/crashstats/supersearch/models.py
Original file line number Diff line number Diff line change
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 5910698

Please sign in to comment.