harness / gitness

Gitness is an Open Source developer platform with Source Control management, Continuous Integration and Continuous Delivery.
https://gitness.com
Apache License 2.0
32.09k stars 2.8k forks source link

Show who "owns" or "enabled" the repo #3044

Open tonglil opened 3 years ago

tonglil commented 3 years ago

Since the repo "owner" who activated the repo in Drone grants their credentials to be used (and thus embedded for things like accessing dependencies in private repos), Drone should show who added the repo to it.

The problem is that when people leave organizations or revoke their access to Drone, it's not transparent why builds stopped from looking at Drone.

If the owner's handle + icon was visible then it would be easy to understand "oh this person left so I need to chown" this repo (the shortfall of oauth apps until GH Apps is a thing).

tboerger commented 3 years ago

I would guess (without checking) the API could already provide the information and it "just" needs to be added to the UI?

CubicNitrous commented 3 years ago

This would be tremendously useful in a corporate environment

bradrydzewski commented 3 years ago

This is planned. As an aside, if a user leaves your company and you remove the user (ie using drone user rm or the api) then Drone will attempt to automatically transfer repository ownership. If interested, you can see the underlying logic here: https://github.com/drone/drone/blob/master/service/transfer/transfer.go

CubicNitrous commented 2 years ago

@bradrydzewski was this ever implemented?

tonglil commented 1 year ago

It would be great if there was at least an API added that would show the user that owned the repo.