-
-
Notifications
You must be signed in to change notification settings - Fork 877
Closed
Labels
size/mediumAn easily manageable amount of work. Well-defined scope, few unknowns.An easily manageable amount of work. Well-defined scope, few unknowns.
Description
Epic #4192
Description/Context
We want to update the API handlers that care about what teams a user belongs to. The accessor.IsAuthorized() should always return true if the user is Admin. Any handlers that care about the teams that a user is part of should check if the user is an admin and instead perform their action for/with all teams in mind.
Tip: search for usages of acc.TeamNames(), those are the handlers you likely need to change
Task List
- Investigate and potentially modify the following methods to behave properly for an admin user:
- Modify ListAllPipelines
- Modify ListAllJobs
- Modify ListBuilds
- Modify ListAllResources
- Modify ListWorkers
Acceptance Criteria
- No handler should return unauthorized if a user is
Admin - Web UI displays all pipelines when a user is
Admin -
Fly CLI should be able to log into any team and perform any action- will work on this in the Fly CLI story
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
size/mediumAn easily manageable amount of work. Well-defined scope, few unknowns.An easily manageable amount of work. Well-defined scope, few unknowns.