Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Updating Functional Accounts with the functionalAccounts.json file #726

Open
JeffreyFG opened this issue May 11, 2023 · 0 comments
Open

Comments

@JeffreyFG
Copy link

Issue Name

Updating Functional Accounts with the functionalAccounts.json file

Summary

As part of developing with Scicat, my team and I have found it necessary to use the basic authentication for our in-gestation automation. When spinning up Scicat for the first time the default functional accounts are created unless the functionalAccounts.json is modified. These passwords are not sufficiently complex and are dangerous.

Steps to Reproduce

Follow the docker compose setup instructions on the documentation, which will lead you to use scicatlive. clone the repo. Then inside the cloned repo simply use docker compose up command. If you do this and do not modify or provide a new functionalAccounts.json the functional accounts will be created with the default passwords.

Current Behaviour

When you modify the functionalAccounts.json file those changes to the users are not implemented when the sever is started.

Expected behavior

Expected/ wanted behavior is that when you change the password of a functional account in the functionalAccounts.json file that this change is reflected with the users entry in the database. With out this once an account is created there is no way to modify it with out first removing it from the database manually.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant