It happens often that a developer creates a pipeline and a job but forgets to give permissions to the team (sharing) so that the pipeline/job can be seen by others. When the job in PRD fails, we would have a big problem.
It would be nice if we can use a python script to query the REST API and retrieve permissions on each pipeline/job so that we can fix the sharing problem proactively.
Can the permission info for each pipeline/job be retrieved from the REST API? If the API cannot provide it, can the info be retrieved by other means?
Thanks a lot in advance! Have a great day!