此内容没有您所选择的语言版本。
Chapter 7. Users and Permissions
Subcommand | Description and tasks |
---|---|
| Create a user: hammer user create \ --login user_name \ --mail user_mail \ --auth-source-id 1 \ --organization-ids org_ID1,org_ID2,... Add a role to a user: hammer user add-role \ --id user_id \ --role role_name |
| Create a user group: hammer user-group create \
--name ug_name
Add a role to a user group: hammer user-group add-role \ --id ug_id \ --role role_name |
| Create a role: hammer role create \
--name role_name
|
| Create a filter and add it to a role: hammer filter create \ --role role_name \ --permission-ids perm_ID1,perm_ID2,... |