Open scollazo opened 8 months ago
When creating/updating storage service users from the command line, using manage.py create_user, there is no command line switch to set/update the user role
manage.py create_user
Expected behaviour
Roles can be set when creating users from the command line
Current behaviour
The output of the cli command is:
usage: manage.py create_user [-h] --username USERNAME --email EMAIL --password PASSWORD --api-key API_KEY [--superuser] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--force-color] [--skip-checks]
But when using the web UI to create a user, this option is available:
Steps to reproduce Create an storage user using manage.py
Your environment (version of Archivematica, operating system, other relevant details)
Archivematica storage service 0.21.0 on rockylinux 9
For Artefactual use:
Before you close this issue, you must check off the following:
When creating/updating storage service users from the command line, using
manage.py create_user
, there is no command line switch to set/update the user roleExpected behaviour
Roles can be set when creating users from the command line
Current behaviour
The output of the cli command is:
But when using the web UI to create a user, this option is available:
Steps to reproduce Create an storage user using manage.py
Your environment (version of Archivematica, operating system, other relevant details)
Archivematica storage service 0.21.0 on rockylinux 9
For Artefactual use:
Before you close this issue, you must check off the following: