Skip to content

Remove User

This page provides steps to remove a user from a DTaaS installation. The username alice is used here to illustrate the steps involved in removing a user account.

Please do the following:

1. Remove an existing user with the DTaaS CLI.

2. Remove backend authorization for the user:

  • Go to the docker directory
cd <DTaaS>/docker
  • Remove these three lines from the conf.server file
1
2
3
rule.onlyu3.action=auth
rule.onlyu3.rule=PathPrefix(`/alice`)
rule.onlyu3.whitelist = alice@foo.com
  • Run the command for these changes to take effect:
docker compose -f compose.server.yml --env-file .env up -d --force-recreate traefik-forward-auth

The extra users now have no backend authorization.

3. Remove users to Gitlab instance (optional):

Please see gitlab docs for more help.

4. The user account is now deleted.

Caveat

You cannot delete the two base users that the DTaaS software is installed with. You can only delete the extra users that have been added to the software.