You can remove assignment of one or more group restrictions from an object, which removes the specified entries to the groups attribute for the object.
For a file, directory or project, one of the following must be true.
- The object must be the first version of the object and the user must have write access to it.
- The user must be in the group_mgr role and be a member of the current groups for the object.
- The user must be in the ccm_admin role.
For any other type of object, one of the following must be true:
- The user must be in the group_mgr role and be a member of the current groups for the object.
- The user must be in the ccm_admin role.
About this task
ccm group|groups -unassign (-v|-value group_item_list)... object_spec...
- -c|-create group_name
- Creates a group name. Uses the default text editor to define the group membership.
- -e|-edit group_name
- Edits the user membership of an existing named group.
- -l|-list
- Lists all the defined groups.
- object_spec...
- Specifies the object to be updated. See Object specification for details.
- -v|-value group_item_list
- Specifies the group restriction to be added. The group_item_list is a list of one or more items separated by commas or spaces and comma and spaces, where each item is in this form:
group_name
group_name:readsource
The group_name is the name of a group and defines modify or check out access restrictions. The group_name:readsource defines access restrictions on the visibility of the source attribute.
Example
- Create a group named docs.
ccm groups -c docs
- List all defined groups.
ccm groups -l