Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: storage service user roles can't be set from manage.py #1658

Open
5 tasks
scollazo opened this issue Jan 19, 2024 · 0 comments
Open
5 tasks

Problem: storage service user roles can't be set from manage.py #1658

scollazo opened this issue Jan 19, 2024 · 0 comments

Comments

@scollazo
Copy link

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

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:

image

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:

  • All pull requests related to this issue are properly linked
  • All pull requests related to this issue have been merged
  • A testing plan for this issue has been implemented and passed (testing plan information should be included in the issue body or comments)
  • Documentation regarding this issue has been written and merged (if applicable)
  • Details about this issue have been added to the release notes (if applicable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant