[Solved] ACL restriction on Activity Dialog

Moderator: crythias

Locked
harrypet
Znuny newbie
Posts: 23
Joined: 02 Feb 2020, 16:11
Znuny Version: OTRS 6
Real Name: Fung Harry

[Solved] ACL restriction on Activity Dialog

Post by harrypet »

Hi all,

I would like to use ACL to restrict the availability of activity dialog to different users.

I am trying to hide the activity dialog on screen when the users' Customer ID is FIN.

I have used possible not in ACL but it didn't work. Nothing is being hidden.

I wonder if my configuration is wrong.

Thanks!
Capture.JPG
You do not have the required permissions to view the files attached to this post.
Last edited by harrypet on 06 Feb 2020, 10:24, edited 2 times in total.
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: ACL restriction on Activity Dialog

Post by wurzel »

Hi,

your ACL looks good.

You might try PropertiesDatabase instead of Properties. Maybe this helps.

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.
harrypet
Znuny newbie
Posts: 23
Joined: 02 Feb 2020, 16:11
Znuny Version: OTRS 6
Real Name: Fung Harry

Re: ACL restriction on Activity Dialog

Post by harrypet »

wurzel wrote: 04 Feb 2020, 12:30 Hi,

your ACL looks good.

You might try PropertiesDatabase instead of Properties. Maybe this helps.

Flo
Hi Flo,
I have tried to use PropertiesDatabase but it remains unchanged. Nothing is being hidden. Anyway thanks for your comment.

Regards,
Harry
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: ACL restriction on Activity Dialog

Post by wurzel »

Ho,

can you try RegExp for the ID instead of String?

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.
harrypet
Znuny newbie
Posts: 23
Joined: 02 Feb 2020, 16:11
Znuny Version: OTRS 6
Real Name: Fung Harry

Re: ACL restriction on Activity Dialog

Post by harrypet »

Hi friend,

I have tested with RegExp. It did not work. :( :( :(

The ActivityDialog is still there. Am I not using Possible Not in a right way?

Thanks for your reply!
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: [Unsolved] ACL restriction on Activity Dialog

Post by root »

Hi,

This can't work. You try to match a CustomerID and an Activity Dialogue to hide an Activity Dialogue. There are no nested Activity Dialogues.
Either you just checking for a specific process then math against a process id or just remove the Activity Dialogue in the match setting.

- 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: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: [Unsolved] ACL restriction on Activity Dialog

Post by wurzel »

Hi,

@Roy: you are right. I did not see this incorrect setting.

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.
harrypet
Znuny newbie
Posts: 23
Joined: 02 Feb 2020, 16:11
Znuny Version: OTRS 6
Real Name: Fung Harry

Re: [Solved] ACL restriction on Activity Dialog

Post by harrypet »

Thanks Roy and Flo. You two really give me a big hand.

I have solved this problem now.

Thanks guys. :D
Locked