Access Manager 2.0
Rewritten (in python) and improved version of the original access manager. Used to change the access rights of repository members in a GitLab group based on a whitelist.
Setup & Run
- Install Python 3 or higher
- Install python-GitLab using
pip install python-gitlab
- Check the file
config.py
to configure the tool - run AccesManager.py using
python AccessManager
Configuration
Option | Purpose |
---|---|
GIT_URL | URL of your GitLab Server |
AUTH_TOKEN | Your personal GitLab access token |
GROUP_ID | Id of the GitLab Group you want to modify |
ACCESS_LEVEL | Access level you want to provide. 1 for Maintainer, 0 for Guest |
STUDENTS | List of users to modify. Users not in this List will be ignored. |
Last modified September 13, 2022: Update _index.md (55d724e)