Skip to content

Commit

Permalink
Update README #133
Browse files Browse the repository at this point in the history
  • Loading branch information
VKTB committed Dec 5, 2024
1 parent dde7ad0 commit 3bf7609
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,16 @@ refresh token from the blacklist by adding or removing the token from the enviro
application/container to be restarted in order for them to take effect. This is because the values for the environment
variable gets loaded once at startup.

### How to add or remove an admin user

The `AUTHENTICATION__ADMIN_USERS` environment variable holds the list of admin users which are the ICAT usernames of
the users normally in the `<icat-mnemonic>/<username>` form. This means that you can add or remove an admin user by
adding or removing their username environment variable.

**PLEASE NOTE** Changes made to the `AUTHENTICATION__ADMIN_USERS` environment variable require the application/container
to be restarted in order for them to take effect. This is because the values for the environment variable gets loaded
once at startup.

### How to update maintenance or scheduled maintenance state

The `maintenance` folder at the root of the project directory contains two json files which return the appropriate state
Expand Down

0 comments on commit 3bf7609

Please sign in to comment.