Skip to main content

Managing Accounts

You can create additional user accounts within BeetleboxCI for members of your organisation. All the users will still have access to all the pipelines that belong to your organisation.

To create new user accounts, you need to be an administrator. You will need to access your user profile using the symbol in the top right hand corner of the BeetleboxCI web app in your browser. Under user management, you have the option to add new user accounts. You can choose if the new accounts will have admin permissions or not. Admin permissions give these new accounts the ability to create and delete additional users.

Creating Superuser Accounts

If you forget the login details of the superuser account, you will need to create a new superuser account to regain access to the admin control panel of the application. This requires running a command on the container which hosts the web server.

On the (virtual) machine where BeetleboxCI is installed, you will need to do the following steps:

  1. Firstly, we need to retrieve the name of the container that is running the web application. The following command retrieves the name and saves it in a variable named WEBPOD.

    WEBPOD=$(kubectl get pods --selector=io.kompose.service=web --output=jsonpath='{.items[*]}')
  2. Then we run the following command, which runs a script inside the container:

    kubectl exec -it $WEBPOD -c web -- python3 manage.pyc createsu    
  3. You will be prompted to enter your details to create a new superuser account.

  4. Afterwards, you can log in to the admin control panel of BeetleboxCI again, where you may choose to reset the password of the original superuser account.