Closed Bug 1007208 Opened 12 years ago Closed 12 years ago

is_employee() function should use settings.ALLOWED_BID

Categories

(Webtools Graveyard :: Air Mozilla, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

Details

The is_employee() function is currently relying on a hardcoded list of domains being: @mozilla.com and @mozillafoundation.org This should also solve https://errormill.mozilla.org/webtools/airmozilla-dev/group/166988/
The is_employee() function is used when an event has a pin and it would cause an error to be raised if you tried to view it anonymously.
Commit pushed to master at https://github.com/mozilla/airmozilla https://github.com/mozilla/airmozilla/commit/d0cbb2dc33e6c1500ab5811fbcaaa1b09faed0b1 fixes bug 1007208 - is_employee() function should use settings.ALLOWED_BID
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee: nobody → peterbe
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.