screwdriver icon indicating copy to clipboard operation
screwdriver copied to clipboard

Modify Pipeline admin Authorization check to use User ID

Open sagar1312 opened this issue 1 year ago • 1 comments

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:

sagar1312 avatar Apr 04 '25 16:04 sagar1312

Similar issues

  1. 100% #3312

🤖 By issues-similarity-analysis

github-actions[bot] avatar Apr 04 '25 16:04 github-actions[bot]