IARC-CSU / CanReg5

CanReg5 is a multi user, multi platform, open source tool to input, store, check and analyse cancer registry data.
http://www.iacr.com.fr/CanReg5
GNU General Public License v3.0
24 stars 13 forks source link

C3134: define default credentials in a configuration file #108

Closed infotel4iarc closed 2 years ago

infotel4iarc commented 2 years ago

If some default usernames and passwords are required, maybe they could be defined in a configuration file, and the user could be invited to change or override them them during the installation

fbinfotel commented 2 years ago

The branch is https://github.com/infotel4iarc/CanReg5/tree/feature/C3134

Here are the point that were done :

fbinfotel commented 2 years ago

The file config.properties is stored in the folder .CanRegClient

The credentials stored in this this file are used to do :

After a new installation, the user can create a new supervisor and change the credentials in the file. After that the user can create next adhoc analysis However if the user wants to migrate an old database or do a system restore or a migration he need to have the old credentials which should be the default credentials

fbinfotel commented 2 years ago

The branch has not been merged to the dev branch, but it was rebase with the last dev branch (commit 783cd5fa). So it is fully compatible with that dev branch. If this branch is merged the user should be carefully informed of the possible issues