Page MenuHomePhabricator

Add GitLab to offboarding workflow
Open, MediumPublic

Description

GitLab offers access to certain repositories and groups. Some groups can give additional privileges. When people leave teams/roles, we have to make sure to review this groups and remove access, if needed.

We should create some documentation what has to be done in GitLab to review a users privileges and groups. Documentation should make sense here https://wikitech.wikimedia.org/wiki/SRE_Offboarding.

If possible, a cookbook or automatic sync (with ldap?) should be preferred over manually configuring GitLab.

Example of "Groups and projects" page in GitLab admin menu: https://gitlab.wikimedia.org/admin/users/jelto/projects (admin access required P16962)

Related Objects

Event Timeline

Change 931286 had a related patch set uploaded (by Jelto; author: Jelto):

[operations/alerts@master] sre: add gitlab ci alerts

https://gerrit.wikimedia.org/r/931286

Jelto triaged this task as Medium priority.Jun 19 2023, 2:52 PM

^ sorry wrong Bug: in change.

LDAP sync is now implemented but some manual permissions remain in place so this is still a valid request.

Since infrastructure-security owns the offboarding workflow (and has the offboarding script for this) we should probably ask them to include it.

Since infrastructure-security owns the offboarding workflow (and has the offboarding script for this) we should probably ask them to include it.

We run the offboarding script and wrote most of it, but that doesn't mean we'll implement all the features for things needed across the fleet. If there is anything specific to clean up in Gitlab when a user leaves, best to make a patch against modules/openldap/files/offboard-user.py

I am afraid the specific thing to GitLab is that the can of "private repos" has been opened.