How to hide "Add Customer" button for all except admin?

Moderator: crythias

Locked
zbigniew
Znuny newbie
Posts: 53
Joined: 11 Dec 2014, 13:30
Znuny Version: 5.0.23
Real Name: Zbigniew Luszpinski

How to hide "Add Customer" button for all except admin?

Post by zbigniew »

OTRS 4.0.5 /otrs/index.pl?Action=AdminCustomerCompany;Nav=Agent
How to hide "Add Customer" button for all except admin?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to hide "Add Customer" button for all except admin?

Post by jojo »

don't give normal users the permission on group users
"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
zbigniew
Znuny newbie
Posts: 53
Joined: 11 Dec 2014, 13:30
Znuny Version: 5.0.23
Real Name: Zbigniew Luszpinski

Re: How to hide "Add Customer" button for all except admin?

Post by zbigniew »

jojo wrote:don't give normal users the permission on group users
Removing 'users' group membership removes access to several menu elements including those having 'Add customer' button. Do you know a way which only hides this button - not whole menus?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to hide "Add Customer" button for all except admin?

Post by jojo »

change the group in sysconfig for the Add customers menu
"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
zbigniew
Znuny newbie
Posts: 53
Joined: 11 Dec 2014, 13:30
Znuny Version: 5.0.23
Real Name: Zbigniew Luszpinski

Re: How to hide "Add Customer" button for all except admin?

Post by zbigniew »

jojo wrote:change the group in sysconfig for the Add customers menu
Thanks for help but mean button not menu. Tried to search sysconfig but there is option to remove menu not button. See:
Image
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to hide "Add Customer" button for all except admin?

Post by jojo »

again remove the group permission. There is no need to access the screen to mantain data without permission to add new users
"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
Locked