How does drone manages access to repositories?

Hello,

I would like to understand how Drone CI synchronizes permissions with Gitlab, Github etc. Do you copy the projects database for a given user and create a mapping between Gitlab permissions and permissions in Drone ? In that case, how do you handle the case where someone is removed from a project in Gitlab ? Will they still be able to access the project in Drone ?

Thanks a lot !

bradrydzewski ?

the user repository list and permissions are synced / cached in the drone database. the permissions have a 30 minute ttl and are re-checked when the ttl expires. this ensure the permissions are kept up-to-date.

Awesome, thanks for your answer :slight_smile: Good to know !