screwdriver
screwdriver copied to clipboard
Modify Pipeline admin Authorization check to use User ID
What happened: The current implementation of the admins field in the pipeline table depends on SCM usernames, which can lead to duplication since there is no assurance that usernames are unique across different SCMs.
Current Pipeline admins implementation: {"bob":true, "alice":true}
What you expected to happen: https://github.com/screwdriver-cd/data-schema/pull/595 introduced a new field to identify pipeline admins based on the user identifier. Make necessary changes to perform admin check based on this new field
How to reproduce it: