mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
demo@demo.demo and OIDC #367
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tedstriker on GitHub (Oct 20, 2023).
Version 1.14.1 running in Docker container.
OIDC is used to log in as admin and also as regular user.
If you omit the environment variables for the default admin account creation demo@demo.demo still is being created.
Furtermore the demo user neither can be deleted nor can its information like its name be edited, despite the comment in the docker-compose.yml says otherwise.
Additional information like phone number and organisation can be though.
claim
steps to reproduce
DEFAULT_ADMIN_*variablesdemo@demo.demopassworddemoworkaround
Set the
DEFAULT_ADMINenvironment variables with your own values. After that, demo@demo.demo can be removed.@meltyshev commented on GitHub (Oct 20, 2023):
Hi! Thanks for reporting this.
You are right, if these values are not specified in
docker-compose.yml, they will still be taken from the.envfile. This should definitely be fixed.@meltyshev commented on GitHub (Oct 20, 2023):
Made these variables optional in the
.env.samplefile. In the new release, an admin account should not be created unless they are specified indocker-compose.yml@tedstriker commented on GitHub (Oct 21, 2023):
Thanks for your quick response.
Will the demo account be deletable after this change, when logged in as an OIDC based administrator?
Currently this seems not possible.
@meltyshev commented on GitHub (Oct 21, 2023):
After this change it should be possible to delete that account from the users menu in Planka. To do this you have to remove
DEFAULT_ADMIN_*variables and then the user specified there previously will become unlocked for editing and deleting. Seems like we need to cover this in the documentation...