ITSM Permission groups for CIs

Moderator: crythias

Post Reply
schaffel
Znuny newbie
Posts: 90
Joined: 20 May 2008, 12:50
Znuny Version: 3.1.X
Real Name: Felix
Company: SyroCon Consulting GmbH
Location: Darmstadt

ITSM Permission groups for CIs

Post by schaffel »

Is it possible to restrict a CI to a defined usergroup?

We want to create a CMDB that should be used by different teams. Team A should see all servers that are required for their work, and team B should see other servers.
How do i set these permissions in a CI class?
We use OTRS 3.1.x but will upgrade to 3.3.x in near future.
production: OTRS 5.0.X | OTRS:ITSM 5.0.X | AWS-RDS MariaDB 10.1.X | CentOS 7

Gibt es im Raum Frankfurt/Darmstadt OTRS/ITSM-Benutzer, die an einem Erfahrungsaustausch interessiert sind? Dann meldet euch um mit Gleichgesinnten über OTRS in der Praxis und den ganzen Rest zu reden.
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: ITSM Permission groups for CIs

Post by BIG_jan »

It is posssible with some programming.

We build access-groups for each customer_company in the cmdb, so only the CIs of allowed customer_companies can be seen.
Only thing that has du be:
- every CI has to have a customer_company defined

All this is written in 'Kernel::System::ITSMConfigItem::Permission::ItemClassGroupCheck'

(this can be disabled by sysconfig, if not working, or test)
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: ITSM Permission groups for CIs

Post by jojo »

just create different classes and assign the permission to the CI class.
"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
schaffel
Znuny newbie
Posts: 90
Joined: 20 May 2008, 12:50
Znuny Version: 3.1.X
Real Name: Felix
Company: SyroCon Consulting GmbH
Location: Darmstadt

Re: ITSM Permission groups for CIs

Post by schaffel »

Where can I define the customer_company in the CI?
Do I have to change something in the class definitions, like adding a corresponding field?

In the SysConfig I found the two options ITSMConfigItem::Permission::Class###010-ClassGroupCheck and ITSMConfigItem::Permission::Item###010-ItemClassGroupCheck in the section "ITSM Configuration Management -> Core::ITSMConfigItem"
They are both activated by default, but the required flag is set to 0.

Is there some sort of a tutorial or howto in the web?
production: OTRS 5.0.X | OTRS:ITSM 5.0.X | AWS-RDS MariaDB 10.1.X | CentOS 7

Gibt es im Raum Frankfurt/Darmstadt OTRS/ITSM-Benutzer, die an einem Erfahrungsaustausch interessiert sind? Dann meldet euch um mit Gleichgesinnten über OTRS in der Praxis und den ganzen Rest zu reden.
Post Reply