-
Notifications
You must be signed in to change notification settings - Fork 0
GroupAdmin
Other common task for DIRAC Administrators is group management. This simple task can be done using command line scripts or through DIRAC Web Portal.
- Adding a Group
- Modifying Groups
- Deleting Groups
As for users, the groups can be defined using attributes, for all the groups mandatory attributes are:
- *Users* - *Properties*.User groups must be associated to a Virtual Organization, because of that the following attributes are mandatory:
- *VOMSROLE* - *VOMSVO* - *VO*
2.1.1 Using command line
The command used to add a new group is:
dirac-admin-add-group [option|cfgfile] ... Property=<Value> ...Options available are:
-G: --GroupName: : Name of the Group (Mandatory) -U: --UserName: : Short Name of user to be added to the Group (Allow Multiple instances or None) -P: --Property: : Property to be added to the Group (Allow Multiple instances or None)For example:
dirac-admin-add-group -G dirac_formation -U vhamarAll the options available can be found in this _link: http://diracgrid.org/files/docs/AdministratorGuide/Configuration/ConfigurationReference/Registry/Groups/index.html
2.1.2 Using DIRAC Web Portal
Open DIRAC Web Portal using dirac_admin group and go to:
Registry -> GroupsUsing the right mouse button, select Create a new section and type the name of the group.
After options can be added.
2.2.1 Using command line
The command is not available.
2.2.2 Using DIRAC Web Portal
Following:
Registry -> Groups -> <group_name>Options can be added using mouse right button over the group_name options and select Change option value or Rename option.
2.3.1 Using command line
The command is not available.
2.3.2 Using DIRAC Web Portal
Following:
Registry -> Groups -> <group_name>Using the mouse select "Delete Section"
Note: Remember to commit the configuration using the link in the left panel to save the configuration.