Permalink
Browse files

Revert "Bug 1013321 - Ensure permissions are correct in the SuperSear…

…chUnredacted model. r=peterbe"

This reverts commit 5910698.
  • Loading branch information...
1 parent 9742710 commit 4164ddcd98cc4fd85cf77f56d7becb995b8a4fc8 @adngdb adngdb committed Jun 18, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 webapp-django/crashstats/supersearch/models.py
@@ -167,8 +167,7 @@ def __init__(self):
permissions = {}
for field_data in all_fields.values():
for perm in field_data['permissions_needed']:
- if perm:
- permissions[perm] = True
+ permissions[perm] = True
self.API_REQUIRED_PERMISSIONS = tuple(permissions.keys())

0 comments on commit 4164ddc

Please sign in to comment.