ACL hide CustomerUser

Moderator: crythias

Post Reply
fullhouse
OTRS newbie
Posts: 36
Joined: 13 Sep 2018, 11:58
OTRS 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
Moderator
Posts: 2194
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
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
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

wurzel
OTRS guru
Posts: 2939
Joined: 08 Jul 2010, 22:25
OTRS Version?: 6.0.x

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 10 (Test)
    ((OTRS)) Community Edition 6.0.x, LAMP LIVE auf Debian 10

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

    Re: ACL hide CustomerUser

    Post by fullhouse »

    Any more ideas on how to solve this?

    root
    Moderator
    Posts: 2194
    Joined: 18 Dec 2007, 12:23
    OTRS Version?: 4/5/6
    Real Name: Roy Kaldung
    Company: Znuny Inc.
    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
    OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

    Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

    skullz
    OTRS expert
    Posts: 261
    Joined: 24 Feb 2012, 03:58
    OTRS Version?: OTRS 6
    Real Name: Skullz
    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
    OTRS newbie
    Posts: 36
    Joined: 13 Sep 2018, 11:58
    OTRS 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
    Moderator
    Posts: 2194
    Joined: 18 Dec 2007, 12:23
    OTRS Version?: 4/5/6
    Real Name: Roy Kaldung
    Company: Znuny Inc.
    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
    OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

    Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

    Post Reply