Hide CIC for a Particular Customer Company

Moderator: crythias

Post Reply
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Hide CIC for a Particular Customer Company

Post by tnieman »

I need to hide the CIC from certain agents for certain customer companies (contractual requirements).

I found how to add the AgentCustomerInformationCenter view to the list of Actions in the ACLs (via Ticket -> Core::TicketACL).

I have an ACL

Code: Select all

ChangeBy: tnieman
  ChangeTime: 2014-07-15 09:52:50
  Comment: 
  ConfigChange:
    Possible:
      Action:
        AgentCustomerInformationCenter: '0'
        AgentTicketZoom: '0'
    PossibleNot: {}
  ConfigMatch:
    PropertiesDatabase:
      Ticket:
        CustomerID:
              list of company ids here (removed)
      User:
        Role:
        - Role1 Agent
        - Role2 Agent
  CreateBy: admin
  CreateTime: 2014-02-21 04:05:19
  Description: Restricts certain agents from accessing certain client's
    data (contractual requirements)
  ID: '1'
  Name: ZZZ-ACL-001-Restricted
  StopAfterMatch: 0
  ValidID: '1'
You can see I have "AgentCustomerInformationCenter: '0'", in the Possible -> Action section. Is that the right spot? It works for blocking AgentTicketZoom.

When I tested with a user in "Role1 Agent" they are able to view the CIC for the restricted company.

Any ideas on how to fix or a different approach?


All help would be greatly appreciated!

Tom
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Hide CIC for a Particular Customer Company

Post by reneeb »

AFAIR, the ACL mechanism doesn't work for that.

A module like http://otrs.perl-services.de/pro_pakete ... rUser.html might help or you could develop a small pre-application module.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Post Reply