Allow changing default user profile
Currently, it is not possible to change the default user's profile when Admiral's migrations are first ran.
This can become an issue when the user doesn't have access to the database used in order to change the email associated with said default user.
As such, we need to implement a way to allow this to happen.
My suggestion would be to have the developer add a yaml
file to the /config
directory and add a command that can be ran to add the users along with their default roles as the developer defined in their permissions.yaml
(as per quick start).
An example format for this would be:
- username: "finlaydag33k"
firstname: "Aroop"
lastname: "Roelofs"
email: "me@finlaydag33k.nl"
roles:
- administrators
- members
- username: "johndoe"
firstname: "John"
lastname: "Doe"
email: "john.doe@example.com"
roles:
- members