5.2. Agents, Groups and Roles
From open-support.info
m (→Groups) |
|||
(10 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
{{Book | {{Book | ||
- | |next=/ | + | |next=../3 |
|heading=5.2. | |heading=5.2. | ||
|title=Agents, Groups and Roles | |title=Agents, Groups and Roles | ||
Line 6: | Line 6: | ||
|progress=00 | |progress=00 | ||
|author=Dick6809 | |author=Dick6809 | ||
+ | |editor=Dick6809 | ||
}} | }} | ||
<onlyinclude>__TOC__ | <onlyinclude>__TOC__ | ||
Line 17: | Line 18: | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Admin-agents.png|id=Figure 5.2|title=Agent management.}} | |
Line 23: | Line 24: | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Add-agent.png|id=Figure 5.3|title=Adding a new agent.}} | |
Line 31: | Line 32: | ||
Every agent's account should belong to at least one group or role. In a brand new installation, there are three pre-defined groups available, as shown in Table 5-1. | Every agent's account should belong to at least one group or role. In a brand new installation, there are three pre-defined groups available, as shown in Table 5-1. | ||
- | {| | + | {| {{book/table|id=Table 5.1|title=Default groups available on a fresh OTRS installation}} |
- | | | + | |
!Group | !Group | ||
!Description | !Description | ||
Line 45: | Line 45: | ||
|Agents should belong to this group, with read and write permissions. They can then access all functions of the ticket system. | |Agents should belong to this group, with read and write permissions. They can then access all functions of the ticket system. | ||
|} | |} | ||
+ | |||
{{fmbox | {{fmbox | ||
Line 54: | Line 55: | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Admin-groups.png|id=Figure 5.4|title=Group management.}} | |
Line 65: | Line 66: | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Admin-agents-and-groups.png|id=Figure 5.5|title=Group management.}} | |
- | |||
An overview of all groups and agents in the system is displayed. You can also use the filters to find a specific entity. If you want to change the groups that an agent is member of, just click on the agent's name (see Figure 5.6 below). To change the agents associated with a group, just click on the group you want to edit (see Figure 5.7 below). | An overview of all groups and agents in the system is displayed. You can also use the filters to find a specific entity. If you want to change the groups that an agent is member of, just click on the agent's name (see Figure 5.6 below). To change the agents associated with a group, just click on the group you want to edit (see Figure 5.7 below). | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Agent-group-relations.png|id=Figure 5.6|title=Change the groups an agent belongs to.}} | |
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Agent-group-relations2.png|id=Figure 5.7|title=Change the agents that belong to a specific group.}} | |
Line 80: | Line 80: | ||
- | {| | + | {| {{book/table|id=Table 5.2|title=Rights associated with OTRS Groups}} |
- | | | + | |
!Right | !Right | ||
!Description | !Description | ||
Line 103: | Line 102: | ||
|Full read and write access on tickets or entries in the queues or areas that belong to this group. | |Full read and write access on tickets or entries in the queues or areas that belong to this group. | ||
|} | |} | ||
+ | |||
{{fmbox | {{fmbox | ||
Line 116: | Line 116: | ||
Because it would take a long time to change the access rights for the different agents manually, roles that define the different access levels can be created. The agents can then be added to one or more roles, with their rights automatically changed. If a new agent account is created, it is also possible to add this account to one or more roles. | Because it would take a long time to change the access rights for the different agents manually, roles that define the different access levels can be created. The agents can then be added to one or more roles, with their rights automatically changed. If a new agent account is created, it is also possible to add this account to one or more roles. | ||
+ | |||
{{fmbox | {{fmbox | ||
|text= Roles are really useful when maintaining larger OTRS installations. You should take care in their use though. Mixing Agent to Group with Agent to Role mappings can make for a complex access control scheme, difficult to understand and maintain. If you wish to use only roles and disable the Agents <-> Groups option in the Admin area, you can do so by modifying the Frontend::Module###AdminUserGroup in the SysConfig. Be aware that this won't remove already existing Agents to Group assignments! | |text= Roles are really useful when maintaining larger OTRS installations. You should take care in their use though. Mixing Agent to Group with Agent to Role mappings can make for a complex access control scheme, difficult to understand and maintain. If you wish to use only roles and disable the Agents <-> Groups option in the Admin area, you can do so by modifying the Frontend::Module###AdminUserGroup in the SysConfig. Be aware that this won't remove already existing Agents to Group assignments! | ||
}} | }} | ||
+ | |||
You can access the role management section (see Figure 5.8 below ) by clicking the Roles link on the Admin page. | You can access the role management section (see Figure 5.8 below ) by clicking the Roles link on the Admin page. | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Admin-roles.png|id=Figure 5.8|title=Role management.}} | |
Line 135: | Line 137: | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Add-role.png|id=Figure 5.9|title=Adding a new role.}} | |
Line 141: | Line 143: | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Admin-roles-agents-relation.png|id=Figure 5.10|title=Change the Roles associated with an Agent.}} | |
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Admin-roles-agents-relation2.png|id=Figure 5.11|title=Change the Agents associated with a specific Role.}} | |
Line 150: | Line 152: | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Admin-roles-groups.png|id=Figure 5.12|title=Manage Roles-Groups relations.}} | |
Line 156: | Line 158: | ||
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Groups-roles-relations.png|id=Figure 5.13|title=Change Group relations for a Role.}} | |
- | + | {{book/figure|image=OTRS_3_0_-_Admin_Manual_Groups-roles-relations2.png|id=Figure 5.14|title=Change Role relations for a Group.}}</onlyinclude> |
Latest revision as of 06:02, 24 April 2011
Contents |
Agents
By clicking the link Agents, you get access to the agent management screen of OTRS (see Figure 5.2 below). Administrators can add, change or deactivate agent accounts. Administrators can also manage agent preferences, for instance the language and notification settings for their interface.
An OTRS agent account may be deactivated but not deleted. Deactivation is done by setting the Valid flag to invalid or invalid-temporarily. |
To register an agent, click on the "Add agent" button, type all the needed data and press the Submit button at the bottom of the screen, as shown in Figure 5.3.
After the new agent account has been created, you should make the agent a member of one or more groups or roles. Information about groups and roles is available in the Groups and Roles sections of this chapter.
Groups
Every agent's account should belong to at least one group or role. In a brand new installation, there are three pre-defined groups available, as shown in Table 5-1.
Group | Description |
---|---|
admin | Allowed to perform administrative tasks in the system. |
stats | Qualified to access the stats module of OTRS and generate statistics. |
users | Agents should belong to this group, with read and write permissions. They can then access all functions of the ticket system. |
In a brand new OTRS installation, the group users is initially empty. The agent 'root@localhost' belongs by default to the admin and stats groups. |
You can access the group management page (see Figure 5.4 below) by clicking the Groups link in the admin area.
As with agents, an OTRS group may be deactivated but not deleted. Deactivation is done by setting the Valid flag to invalid or invalid-temporarily. |
To add an agent to a group, or to change the agents who belong to a group, you can use the link Agents <-> Groups from the Admin page (see Figure 5.5 below).
An overview of all groups and agents in the system is displayed. You can also use the filters to find a specific entity. If you want to change the groups that an agent is member of, just click on the agent's name (see Figure 5.6 below). To change the agents associated with a group, just click on the group you want to edit (see Figure 5.7 below).
Each group has a set of rights associated with it, and each member agent may have some combination of these rights for themselves. A list of the permissions / rights is shown in Table 5-2.
Right | Description |
---|---|
ro | Read only access to the tickets, entries and queues of this group. |
move into | Right to move tickets or entries between queues or areas that belong to this group. |
create | Right to create tickets or entries in the queues or areas of this group. |
owner | Right to update the owner of tickets or entries in queues or areas that belong to this group. |
priority | Right to change the priority of tickets or entries in queues or areas that belong to this group. |
rw | Full read and write access on tickets or entries in the queues or areas that belong to this group. |
By default, the QueueView only lists tickets in queues that an agent has rw access to, i.e., the tickets the agent needs to work on. If you want to change this behaviour, you can set Ticket::Frontend::AgentTicketQueue###ViewAllPossibleTickets to Yes. |
Roles
Roles are a powerful feature to manage the access rights of many agents in a very simple and quick manner. They are particularly applicable on large, complex support systems with a lot of agents, groups and queues. An example below explains when they may be used.
Suppose that you have a system with 100 agents, 90 of them with access to a single queue called "support" where all support requests are handled. The "support" queue contains some sub queues. The other 10 agents have permission to access all queues of the system. These 10 agents dispatch tickets, watch the raw queue and move spam messages into the "junk" queue.
The company now opens a new department that sells some products. Order request and acceptance, order confirmation, bills, etc. must be processed, and some of the company's agents shall do this via OTRS. The different agents have to get access to the new queues that must be created.
Because it would take a long time to change the access rights for the different agents manually, roles that define the different access levels can be created. The agents can then be added to one or more roles, with their rights automatically changed. If a new agent account is created, it is also possible to add this account to one or more roles.
Roles are really useful when maintaining larger OTRS installations. You should take care in their use though. Mixing Agent to Group with Agent to Role mappings can make for a complex access control scheme, difficult to understand and maintain. If you wish to use only roles and disable the Agents <-> Groups option in the Admin area, you can do so by modifying the Frontend::Module###AdminUserGroup in the SysConfig. Be aware that this won't remove already existing Agents to Group assignments! |
You can access the role management section (see Figure 5.8 below ) by clicking the Roles link on the Admin page.
As with agent and groups, roles once created can be deactivated but not deleted. To deactivate, set the Valid option to invalid or invalid-temporarily. |
An overview of all roles in the system is displayed. To edit a role's settings, click on the role's name. In a fresh new OTRS installation, there are no roles defined by default. To register one, click on the "Add role" button, provide the needed data and submit it (see Figure 5.9 below).
To get an overview of all roles and agents in the system, click on the link Roles <-> Agents on the Admin page. You can also use filters to find a specific element. If you want to change the roles associated with an agent, just click on the agent's name (see Figure 5.10 below). To change the agents associated with a role, click on the role you want to edit (see Figure 5.11 below).
To get an overview of all roles and groups in the system, click on the link Roles <-> Groups on the Admin page. You will see a similar screen as the one shown in the Figure 5.12. You can also use filters to find a specific entity.
To define the different access rights for a role, click on the name of a role or a group (see below the Figures 5.13 and 5.14, respectively).