support comments in auth tokens
Categories
(Tecken :: General, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: willkg, Assigned: willkg)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Tecken requires an auth token for uploading symbols. Tokens are tied to permissions and also destination. For example, you need one token with "upload symbols" permission to upload release symbols but you need a different token with "upload TRY symbols" permission to upload try symbols. If you had two tokens, they look identical. It's impossible to look at infrastructure configuration and know which is which.
It would be nice if we could append a name to tokens. So instead of a token like e457e12e663c45a68be541758875ae31
, we could have something like e457e12e663c45a68be541758875ae31-try
or e457e12e663c45a68be541758875ae31-stagetesttry
.
This bug covers fleshing out some way of being able to distinguish tokens and how to implement that.
Assignee | ||
Comment 1•2 years ago
|
||
One approach is to adjust the token middleware to drop -
and everything afterwards if it sees it. Then people can label their tokens however they like and it doesn't affect anything.
I think I might go for that since it's a small change and doesn't require us to update the ui.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
This got deployed to production just now in bug #1854172. Marking as FIXED.
Description
•