Hide buttons if you are not an owner

Moderator: crythias

Post Reply
alfredix
Znuny newbie
Posts: 2
Joined: 27 Nov 2018, 18:12
Znuny Version: ITSM 6
Real Name: Alfredo
Company: Logicalis

Hide buttons if you are not an owner

Post by alfredix »

Good morning,

I'm new to OTRS, thanks for the help.

If an agent is the owner of the ticket he can do a lot of things. (Owner.png)

If an agent is not the owner you can do fewer actions (Not Owner.png)

How can I further limit the actions of the agent who is not the owner ?

Example: If the agent is not the owner hide the Communication button. (Not Owner.png)

Thank you very much
You do not have the required permissions to view the files attached to this post.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Hide buttons if you are not an owner

Post by RStraub »

Hey there,

you cannot without customization, as an ACL cannot compare dynamic values.

What you would need is a new ACL module that does exactly what you are describing.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Hide buttons if you are not an owner

Post by jojo »

Actions which require to be owner will be hidden automatically. Communication is a submenue and therefore can not be hidden, also note is part of it, which sould not be assigned to require ownership as it designed to be used to communicate between agents.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
alfredix
Znuny newbie
Posts: 2
Joined: 27 Nov 2018, 18:12
Znuny Version: ITSM 6
Real Name: Alfredo
Company: Logicalis

Re: Hide buttons if you are not an owner

Post by alfredix »

RStraub wrote: 21 Dec 2018, 10:09 Hey there,

you cannot without customization, as an ACL cannot compare dynamic values.

What you would need is a new ACL module that does exactly what you are describing.
Hello.

Thanks for the answer.

I know how to make an ACL but I don't know how to make the condition that the agent who accesses "AgentTiccketZoom" is not responsible:

Example: Owner, the buttons are visibles

Not Owner, cannot see buttons configured with ACL

Best Regards
Post Reply