Roles vs Groups

English! place to talk about development, programming and coding
Post Reply
mkarg
Znuny advanced
Posts: 136
Joined: 03 Jul 2014, 15:17
Znuny Version: 5s (Free)
Real Name: Markus KARG
Company: ProSeS BDE GmbH

Roles vs Groups

Post by mkarg »

Unfortunately the manual is ambiguous about the actual sense of roles and groups, and there is no concensus in the user base, so I'd like to kindly ask to give some comments about what the OTRS developers had in mind with roles vs groups:

* In a company there are three departments: Development, Sales and Support. Each employee works in exactly one department. There is one single queue in which all tickets live. This queue is managed (owned) by Support. There are three organizational functions to fulfil regarding tickets: First Level Support (can open tickets when customer calls in that queue), Second Level Support (can edit and close tickets in that queue) and Third Level Support (will help second level with complex requests).

What is the correct way to model this? Apparently it is wrong to model departments as "Group" instances and organizational functions as "Role" as this leads to the fact that only the queue owner (Support) can see tickets in that group.

So how to correctly model departments and organizational functions in OTRS, os "Groups" and "Roles" is apparently the wrong way?
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Roles vs Groups

Post by jojo »

already explained in german thread.

In the early years there were no Roles. Only groups for assigning permissions.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
mkarg
Znuny advanced
Posts: 136
Joined: 03 Jul 2014, 15:17
Znuny Version: 5s (Free)
Real Name: Markus KARG
Company: ProSeS BDE GmbH

Re: Roles vs Groups

Post by mkarg »

jojo wrote:already explained in german thread.

In the early years there were no Roles. Only groups for assigning permissions.
Can you please post a link to that thread? I actually cannot find where it actually explains how to model "Agent A works in Department D, and everyone in Department D acts in Role R".
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Roles vs Groups

Post by jojo »

I'm talking about your thread.

What you wan't to achieve is not possible in OTRS.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
mkarg
Znuny advanced
Posts: 136
Joined: 03 Jul 2014, 15:17
Znuny Version: 5s (Free)
Real Name: Markus KARG
Company: ProSeS BDE GmbH

Re: Roles vs Groups

Post by mkarg »

jojo wrote:I'm talking about your thread. What you wan't to achieve is not possible in OTRS.
I see and accept, but actually I wonder why the OTRS Groups GUI actually proposes to name groups as departments -- this totally confuses newbies like me, as groups are never departments following the logic behind OTRS' way to deal with groupts!?
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Roles vs Groups

Post by crythias »

Roles: a way to consistently apply multiple group permissions to Agents. In theory, if you start using Roles, you may wish to ignore direct agent-group assignment because of management overhead.
mkarg wrote:There is one single queue in which all tickets live.
Queues are [groups of] agent that can handle a particular [type of] request. Good queues: Tech, Plumbing, Maintenance. Other possibilities: Tier1, Tier2, Tier3.
mkarg wrote:What is the correct way to model this?

Depends on your view of "Correct".

*A* way to model this is to provide "Tier1" as a queue for which customers can submit tickets (Filter available new-ticket queues for Customers).
If a ticket is to be escalated, Move the ticket to Tier2, etc.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
mkarg
Znuny advanced
Posts: 136
Joined: 03 Jul 2014, 15:17
Znuny Version: 5s (Free)
Real Name: Markus KARG
Company: ProSeS BDE GmbH

Re: Roles vs Groups

Post by mkarg »

crythias wrote:Roles: a way to consistently apply multiple group permissions to Agents. In theory, if you start using Roles, you may wish to ignore direct agent-group assignment because of management overhead.
mkarg wrote:There is one single queue in which all tickets live.
Queues are [groups of] agent that can handle a particular [type of] request. Good queues: Tech, Plumbing, Maintenance. Other possibilities: Tier1, Tier2, Tier3.
mkarg wrote:What is the correct way to model this?

Depends on your view of "Correct".

*A* way to model this is to provide "Tier1" as a queue for which customers can submit tickets (Filter available new-ticket queues for Customers).
If a ticket is to be escalated, Move the ticket to Tier2, etc.


Understood. Thanks for your kind help. To sum up, I must not use OTRS Groups to model organizational departments unless all agents accessing the queues owned by that group are part of that same group. To model organizational departments an external grouping feature like LDAP has to be used, as kindly pointed out in the German forum.
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
Post Reply