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.sh
to create an orderly db in the top level directory./scripts/test-cli.sh <command>
add-users [email protected] [email protected]
add-groups admin funder developer
add-members admin [email protected] [email protected]
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 [email protected] */reports.read