NAME
disbatch-create-users - create roles and users for Disbatch
VERSION
version 4.103
SYNOPSIS
disbatch-create-users --config /etc/disbatch/config.json --root_user root
ARGUMENTS
- --config <string>
 - 
Path to the JSON Disbatch config file.
The config file must have keys for
mongohostanddatabase.It must also have the key
authwhich is a hash with keysdisbatchd,disbatch_web,task_runner,queuebalance, andpluginwhose values are the passwords for those MongoDB disbatch users. - --root_user <string>
 - 
Username of the MongoDB root user.
 - --plugin_perms <string>
 - 
Path to the JSON config file for
pluginpermissions. Default is/etc/disbatch/plugin-permissions.json.No permissions are required, but note that Disbatch::Plugin::Demo must be able to do
inserton thereportscollection. - --additional_perms <string>
 - 
Path to the JSON config file to set additional permissions for included roles. No default.
If you have Disbatch::Web load additional routes via
config.web_extensions, you may need to add permissions here.Format of the file is
{ role_name: {collection_name: array_of_actions, ...}, ... }.See file
etc/disbatch/additional-permissions.json-example. - --create_root
 - 
Will first create the root user in the
admindatabase. Optional.This only works if no other users have been created.
 - --drop_roles
 - 
Will drop Disbatch roles and users before creating them. Optional.
 
SEE ALSO
AUTHORS
Ashley Willis <awillis@synacor.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2016, 2019 by Ashley Willis.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004