We need a django app that allows signed in users to generate tokens that they can use to auth against the public API (/api/). * Each token would map to 1 or more permissions. * Each token would take an optional notes field where you can type in some free text * Generated token must have a expiration date. By default this will be 90 days.
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/e6923919055d3b133df9849d4f69cad875ec4de2 fixes bug 971965 - App for generating API tokens, r=AdrianGaudebert
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
QA Steps ======== 1. Go to /api/tokens (on stage presumably) 2. Select 0 or more permissions of the ones you have (selecting 0 should yield a validation error) 3. Enter notes 4. Click Save Things to look out for ---------------------- * Generated API tokens should not be displayed in full unless you click the "Show the whole token" button * It should be possible to delete generated tokens * The permissions you chose should be displayed accordingly in your list of generated tokens * Notes can contain line breaks
You need to log in before you can comment on or make changes to this bug.