- Copies all alma roles from one user to another.
- Any existing roles of the destination user are overwritten.
ALMA_API_KEY=# an Alma API key with `user` read/write permissions and `conf` read permissions
-
Create a virtual environment and install dependencies
make install
-
Run the script from the virtual environment, passing in the primary ID's of the source and target users as commandline arguments
pipenv run copy_roles [primary_id_of_user_to_copy_from] [primary_id_of_user_to_copy_to]