How to use groups and roles
All servers managed via Roxy-WI can be included in groups. A group is a user-defined pool of servers. It is up to you decide how you will group your servers. You can create groups because of their type, purpose, etc. By default, all your servers are included in the common group named Default. All other groups are created within this group.
To create a group, go to the Admin Area and select Groups. Press the "Add" button. The following form will open:
Enter the name of the group and the description (the Description field is facultative). Press the "Add" button.
To add servers to the group, open the list of servers. Select the group in the drop-down menu right to the name of the server:
When adding a new server, you can include it in a group when filling in the form:
The users can be granted different permissions for managing server groups. A set of permissions and privileges available for a user is called role. Each user can be assigned one of the following 4 roles:
- guest is just a visitor of Roxy-WI website and does not have the right to perform any operations;
- editor can edit configuration files and restart HAProxy and Nginx services;
- admin can also manage groups allowed by the SuperAdmin but has no access to the Admin Area;
- superAdmin manages everything at global level and has the ability to add, edit and remove servers; add users and assign roles to them; to edit all configs and changes all settings
To associate users with groups and assign roles to them, go to the Admin Area and select Users. In the drop-down menu right to them name of the user selects the role you would like to assign:
To select the groups which the user will manage within the assigned role or to modify the list of previously selected groups, click on the blue pencil in the Groups field. In the window that will open, select more groups and press the Save button: