Managing roles in GitHub¶
To manage roles in the instrument repository in GitHub, follow these steps:
- Navigate to the instrument repository on GitHub.
- Click on "Settings" in the top menu.
- Select "Collaborators and teams" from the left tab.
- Then,
- If the user is not yet a member of the repository:
- In the "Add people" section, enter the GitHub username or email address of the user you want to assign a role to.
- Choose the appropriate role from the "Select a role" dropdown menu. The available roles are:
- Read: Can view issues and merge requests.
- Triage: Can view and create issues, and view merge requests.
- Write: Can create and manage branches, issues, and merge requests.
- Maintain: Can manage the repository, including settings and members.
- Admin: Has full control over the repository (only available for organization owners).
- Click the "Invite" button to assign the role to the user.
- If the user is already a member of the repository:
- Find the user in the list of members.
- Click on the dropdown menu next to their current role.
- Select the new role you want to assign to the user.
- If the user is not yet a member of the repository: