ACL hide CustomerUser

Moderator: crythias

Post Reply
fullhouse
Znuny newbie
Posts: 36
Joined: 13 Sep 2018, 11:58
Znuny Version: 6.0.12

ACL hide CustomerUser

Post by fullhouse »

We are using an external database to get our customer information. There is one customeruser, which agents shouldn't be allowed to select as customer when creating a Ticket etc.

I'm trying to create an ACL so this user won't show up in the drop-down menu. Any ideas on how i could accomplish that? Is there any way to put PossibleNot and then the UserLogin?
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: ACL hide CustomerUser

Post by root »

Hi,

Do you use in your external database the column valid? That's the easiest way to prevent ticket creation for specific customer user.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: ACL hide CustomerUser

Post by wurzel »

Hi,

use a view for this, which contains valid users only ;-)

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

-- 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.
fullhouse
Znuny newbie
Posts: 36
Joined: 13 Sep 2018, 11:58
Znuny Version: 6.0.12

Re: ACL hide CustomerUser

Post by fullhouse »

Thanks for the quick replies.

The user is actually a "valid" user which is using this account to access the customer Frontend. We created this account, so he is able to view another customerusers tickets through company tickets.

However, no one is supposed to open any tickets directly on this account, so I want to hide the possibility of selecting this user.
fullhouse
Znuny newbie
Posts: 36
Joined: 13 Sep 2018, 11:58
Znuny Version: 6.0.12

Re: ACL hide CustomerUser

Post by fullhouse »

Any more ideas on how to solve this?
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: ACL hide CustomerUser

Post by root »

Hi,

Custom Development. Let me know or check viewforum.php?f=104 for possible service provider.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
skullz
Znuny superhero
Posts: 618
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: ACL hide CustomerUser

Post by skullz »

May not be the total solution..
Eventhough agent still can select this customer, but the Queue field will be empty, thus disable ability to create a ticket on behalf this customer.

Properties
- CustomerUser
-- UserLogin = customer1
- Frontend
-- Action = AgentTicketPhone

PossibleNot
- Ticket
-- Queue = queue1, queue2, etc
fullhouse
Znuny newbie
Posts: 36
Joined: 13 Sep 2018, 11:58
Znuny Version: 6.0.12

Re: ACL hide CustomerUser

Post by fullhouse »

Thanks skullz. That works, but only when creating a Ticket. Agents can still choose and select this customeruser on tickets that have already been opened.

So I guess this is not solvable via ACL?
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: ACL hide CustomerUser

Post by root »

fullhouse wrote: 05 Nov 2019, 11:14 So I guess this is not solvable via ACL?
Hi,

Yes, you're right.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply