Closed Bug 805092 Opened 12 years ago Closed 12 years ago

Mozillians Authentication

Categories

(Webtools Graveyard :: Air Mozilla, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: richard, Assigned: peterbe)

References

()

Details

Changes required to allow Mozillians privileged access to Air Mozilla.
1. Start working on it Nov 5. Talk to Ben and Giorgos
2. Change Persona button to "Sign-in" or something
3. Every event should have a dropdown instead of a checkbox:
  * Public, Company only, Company + Contributors
Severity: normal → major
The code is complete but for this to work we need to set up some keys on the dev server. 
I will file a new bug.
Come to think of it, perhaps I should write a little something into the code so that this is allowed to be disabled. E.g. if no MOZILLIANS_API_KEY is set, instead of raising that as an error it can be used to simply mean that it can't use Mozillians to authenticate. 

However, I've already changed how the sign in button looks. ("Sign in" instead of "Employee Sign in")
BTW, here's what it can look like: http://cl.ly/KhtK
Peter: 

Looks good! Great that you're the first to use the API ;)

I 'd go ahead and implement a graceful fallback in the case that the key doesn't exists or you get a "unauthorized" message, as you suggest. Obviously neither should happen but we better be safe than sorry.
Commit pushed to master at https://github.com/mozilla/airmozilla

https://github.com/mozilla/airmozilla/commit/62829ba254f9558a79a50275f3d9df598c0a9826
bug 805092 - full ability to log in as vouched contributor and new privacy field
This is now complete and has been deployed on air-dev. 

Test away!
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.