User Maintenance: Adding or Removing Users

Once you have created a branch to track the user updates we need to adjust the users.yaml file to reflect the desired updates.

Steps

  1. From IntelliJ open the correct project & and ensure you are on the correct branch for the User Update.

  2. Open the users.yaml file. The users.yaml will be in the main folder for the project as opposed to Policy pages.

    train user edit users1

  3. Review the users.yaml file formatting.

    train user edit users2

    • username: Should be the individuals GitLab username.

    • role: Is the role to be granted to that user. The standard role for a Policy Maintainer should be developer.

  4. Add or Remove a user(s) as outlined below.

Adding a new user

To add a new user navigate to the end of the user.yaml file and add the user by defining the username & role for the new user.

train user edit users3

Removing an existing User

To remove an existing user delete the user entry while ensuring that the spacing and formatting of other users is consistent.

train user edit users4

Note: You can perform both actions in the same file update

  1. Once all updates have been performed and reviewed you can commit and push the update. Do not update any other files as part of this issue or merge request.