Trouble with a simple ACL

Moderator: crythias

Locked
ksbuchanan
Znuny newbie
Posts: 16
Joined: 11 Dec 2010, 22:13
Znuny Version: 3.1.11

Trouble with a simple ACL

Post by ksbuchanan »

Objective: If queue = 'Network', restrict priority to '1 Very High' and '2 High'

...so, I copied the code below into Config.pm. I open a new Phone Ticket and select Network Queue - but the Priority dropdown doesn't change. ...what am I doing wrong?? I've read the ACL documents, and tried to copy/paste the examples...but they don't work.

Thanks!!!
Kevin

Code: Select all

$Self->{TicketAcl}->{'ACL-Network-Priority'} = 
{
                     # match properties
   Properties => {

        Queue => { Name => ['Network'], },
   },

   Possible => {
        Ticket => { Priority  => ['1 Very High','2 High'],
                  },
   },
};

ksbuchanan
v3.3.5 on Windows 2008r2 64-bit
Agent Auth: Windows LDAP
Customer Auth: Windows LDAP
Customer DB: Windows LDAP
Apache webserver
MYSql DB server
ksbuchanan
Znuny newbie
Posts: 16
Joined: 11 Dec 2010, 22:13
Znuny Version: 3.1.11

Re: Trouble with a simple ACL

Post by ksbuchanan »

...anyone have any useful advice/tutorial for how to configure an ACL? AND...I've tried every example in the online docs (of course, modified the values to match specific queues/priorities/etc, within our build).

I don't doubt that ACLs work...but...they DON'T work for me!!

Thank you for ANY help provided!

-Kevin
ksbuchanan
v3.3.5 on Windows 2008r2 64-bit
Agent Auth: Windows LDAP
Customer Auth: Windows LDAP
Customer DB: Windows LDAP
Apache webserver
MYSql DB server
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Trouble with a simple ACL

Post by crythias »

By "Don't work" ... it means... what? In stock OTRS, "Doesn't work" would mean the example you gave may not allow any Priority to be set because the priorities are misspelled, numbering and upper case.

Screenshots of your priority list would be helpful, as well as knowledge of what screen is relevant to your ACL.

I can confirm that this:

Code: Select all

  $Self->{TicketAcl}->{'ACL-Network-Priority'} =
  {
                       # match properties
     Properties => {

          Queue => { Name => ['Network'], },
     },

     Possible => {
          Ticket => { Priority  => ['5 very high','4 high'],
                    },
     },
  };
results in this:
ACL - Priority.jpg
You do not have the required permissions to view the files attached to this post.
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
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Trouble with a simple ACL

Post by skullz »

be note, ACL wont work on root@localhost account. Login as another admin..
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
wurzel
Znuny guru
Posts: 3274
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Trouble with a simple ACL

Post by wurzel »

Hi,

... and use GUI ACL Editor ;)

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Locked