Closed
Bug 1221617
Opened 10 years ago
Closed 10 years ago
when validating temp creds, take the intersection of issuer's scopes, ext.scopes
Categories
(Taskcluster :: Services, defect)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: dustin, Unassigned)
References
Details
Currently, if you create temporary scopes but then your own scopes change for some reason (which is not unusual, as we adjust roles to model what's going on in production) and the new scopes do not satisfy tmp.scopes, tmp becomes completely invalid. This is a big problem if tmp.scopes was created with client.expandScopes(), but can be a problem even without that (if client.scopes is modified).
A potential fix is to just strip the un-satisfied scopes from the scopelist returned from authenticateHawk, rather than returning failure.
| Reporter | ||
Comment 1•10 years ago
|
||
I've been convinced this is a bad idea, and that most temporary credentials will have .scopes containing some set of roles that's also associated with the parent clientId, so as those roles change, the temp creds expanded scopes will change as well.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•7 years ago
|
Component: Authentication → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•