Roles
- Olesya Tantsyura
1.Ā Description
By default, there is one Role - sysadmin, which has all rights and access.
The Roles created in this section are used in the Webitel system. Depending on the Role setting, access to different actions can be granted; a list of possible actions can be found here.
It consists of the following elements:
- Creation tool (Fig.1(1));
- Search fieldĀ (Fig.1(2));
- Refresh buttonĀ (Fig.1(3));
- RegistryĀ (Fig.1(4));
- PaginationĀ (Fig.1(5)).
Fig. 1. Roles page
1.1. Creation tool
Use theĀ AddĀ button (Fig.1(1)) to create a new object. Access to aĀ GeneralĀ tab opens after clicking.After filling in the tabs, click the Save button. You can open tabs for existing Role through the entries editing tool (see paragraph 1.4.4).
Tabs:
1.2. Search field
The search is performed on the NameĀ column.
It consists of an input field and a close button () displayed when the cursor is placed in the input field. To search by part of a word or a number, use the * symbol. You can also use the *Ā character to replace any number of characters.
1.3. Refresh button
Updating the register table is performed by clicking on the refresh button -
1.4. Registry
The registry is a list of entries of existing objects in this section, each of which consists of a set of fields:
- Checkbox;
- Name;
- Description;
- Editing tool;
- Removal tool.
1.4.1. Checkbox
Used to select one or more entries. An additional removal tool appears after selecting one or more entries. Information about the number of entries chosen for deletion appears when you hover over this tool. When you click on it, a modal confirmation window appears. It contains the Yes, No, and close () buttons. Clicking the Yes button deletes the entries. Clicking the No button closes the modal window, and the entries are not deleted. All records on the page will be selected if you select the checkbox in the header.
Fig. 2. Confirm deletion modal window
1.4.2. Name
The name of the Role is displayed here.
Clicking on a name opens the GeneralĀ tab for that Role (if you have edit rights).
1.4.3. Description
A brief description of the Role is displayed here.
1.4.4. Editing tool
The GeneralĀ tab opens after clicking on this button. You can change the object's data and go to other tabs for editing.
1.4.5. Removal tool
It is used to remove an object with confirmation through a modal window. A modal confirmation window appears after clicking the button. Clicking the Yes button - deletes the object and the entry. Clicking the No button closes the modal window, and the object is not deleted.
Fig. 3.Ā Confirm deletion modal window
1.5. Pagination
It consists of the RowsĀ per page field, which indicates the number of entries (it is possible to set from 1 to 1000) per page, and forward and backward buttons for switching pages.
2. Opportunities
2.1. Create a new Role
Goal | Create a new Role |
---|---|
Preconditions | |
Steps |
|
Result | Data saved. The Role is created. |
2.2. Delete a Role
Goal | Delete aĀ Role |
---|---|
Preconditions |
|
Steps |
|
Result | The modal window closes. The Role is removed. |
2.3. Delete several Roles
Goal | Delete several Roles |
---|---|
Preconditions |
|
Steps |
|
Result | The modal window closes. Roles are removed. |
2.4. Edit a Role
Goal | Edit a Role |
---|---|
Preconditions |
|
Steps |
|
Result | Data saved. |