materia-server
materia-server copied to clipboard
Integrate @materia/users in @materia/server and use admin users to remove rootPassword
If we integrate @materia/users in this repository and install it by default in every applications, we can use admin role to connect materia-server admin API instead of using rootPassword.
Advantage:
- no rootPassword written in clear text in materia.json & materia.prod.json
- Same login system than the one used in the application (not duplicated in 2 different system)
If no database setup, we can still connect to a local sqlite database to have the minimal user structure
If no admin user defined, need a cli command to initialize the first admin user (to let materia-designer connect the admin API)
- Materia Version: v1.0.0-beta.1