For usage on first time deployment to bootstrap the app by adding some users with permissions to the database.
image=vimc/orderly-web-user-cli:master
docker run \
-v orderly_volume:/orderly \
$image <command>
or to test locally:
./scripts/generate-test-data.shto create an orderly db in the top level directory./scripts/test-cli.sh <command>
add-users test.user@example.com another.user@email.com
add-groups admin funder developer
add-members admin test.user@example.com another.user@email.com
grant admin */reports.read */reports.review
Note that all users get their own identity group by default, so to grant a permission to a single user:
grant test.user@example.com */reports.read