Manage groups¶
Who: JIMM controller admin
See also: Group
Note
This guide assumes you have the jaas
plugin installed.
See here for more information.
Preview an example workflow
# Create a group:
juju add-group A
# Verify that the group has been created successfully:
juju list-groups
# Give the members of the group write access to test-model-1:
juju add-permission group-B#members writer model-test-ctl-1/test-model-1
# Rename the role to something more suitable:
juju rename-group model-writers
# Add users to the group:
juju add-permission [email protected] member group-A
juju add-permission [email protected] member group-B
# Verify that user Alice has indeed inherited the group's write access to test-model-1:
juju check-permission [email protected] writer model-test-ctl-1/test-model-1
# Create another group B and make members of group A also members of group B:
juju add-permission group-A#member member group-B
...
Add a group¶
To add a new group to your JIMM controller, use the add-group
command followed by the name you want to assign to the group. For example:
juju add-group A
See more: juju add-group
View all the current groups¶
To view all the current groups, run the list-groups
command. For example:
juju list-groups [options]
See more: juju list-groups
Manage an entity’s relation to a group¶
See Manage relations.
Manage a group’s relation to an entity¶
See Manage relations.
Rename a group¶
To rename a group, run the rename-group
command followed by the old name and the new name. For example:
juju rename-group TeamA TeamB
See more: juju rename-group
Remove a group¶
To remove a group from a JIMM controller, run the remove-group
command followed by the name of the group. For example:
juju remove-group TeamB
See more: juju remove-group