Hi,
We have an OTRS 3 install running.
Normally when you click 'Customers' you get the customer screen with the 'add customer' button.
My question is, for a group of agents in a group I want to deny the option to add or modify a customer.
So that the customer overview will be read-only.
Is this possible? I've been playing with rights assignment, but as soon as I remove the RW rights the customer-section disappears.
deny agent adding new customer
Moderator: crythias
-
- Znuny newbie
- Posts: 61
- Joined: 17 Dec 2010, 13:22
- Znuny Version: 3.0
deny agent adding new customer
OTRS 3.0.7 with MySQL on Windows server 2003 r2 server with AD integration for customers.
-
- Znuny newbie
- Posts: 61
- Joined: 17 Dec 2010, 13:22
- Znuny Version: 3.0
Re: deny agent adding new customer
*bump*
OTRS 3.0.7 with MySQL on Windows server 2003 r2 server with AD integration for customers.
-
- Znuny newbie
- Posts: 61
- Joined: 17 Dec 2010, 13:22
- Znuny Version: 3.0
Re: deny agent adding new customer
Does nobody have a clue how to fix this issue i'm having?
Maybe possible to make the otrs.Customer_user table read-only in MySQL?
Only consequence I could think of is errors in OTRS when someone does click on "Add Customers" and then Apply, or when an agents tries to change customerdata.
Maybe possible to make the otrs.Customer_user table read-only in MySQL?
Only consequence I could think of is errors in OTRS when someone does click on "Add Customers" and then Apply, or when an agents tries to change customerdata.
OTRS 3.0.7 with MySQL on Windows server 2003 r2 server with AD integration for customers.
-
- Znuny newbie
- Posts: 61
- Joined: 17 Dec 2010, 13:22
- Znuny Version: 3.0
Re: deny agent adding new customer
Found a temporary workaround, it's not ideal but it works for now:
Remove “Add Customer” button & disable “Edit customer”.
Open OTRS\Kernel\Output\HTML\Standard\AdminCustomerUser.dtl.
Remove or place # symbols before:
On line 42 to remove the “Add Customer Button”:
On line 239 to remove the Submit & Cancel button in “Edit customer view”
Remove “Add Customer” button & disable “Edit customer”.
Open OTRS\Kernel\Output\HTML\Standard\AdminCustomerUser.dtl.
Remove or place # symbols before:
On line 42 to remove the “Add Customer Button”:
Code: Select all
<!-- dtl:block:ActionAdd -->
<li>
<form action="$Env{"CGIHandle"}" method="post">
<input type="hidden" name="Action" value="$Env{"Action"}"/>
<input type="hidden" name="Subaction" value="Add"/>
<input type="hidden" name="Nav" value="$QData{"Nav"}"/>
<button class="CallForAction Plus" type="submit"><span>$Text{"Add customer"}</span></button>
<br/>
<label class="InvisibleText" for="Source">$Text{"Select"}</label>
$Data{"SourceOption"}
</form>
</li>
<!-- dtl:block:ActionAdd -->
On line 239 to remove the Submit & Cancel button in “Edit customer view”
Code: Select all
<div class="Field SpacingTop">
<button class="Primary" type="submit" value="$Text{"Submit"}">$Text{"Submit"}</button>
$Text{"or"}
<a href="$Env{"Baselink"}Action=$Env{"Action"};Nav=$LQData{"Nav"}">$Text{"Cancel"}</a>
</div>
OTRS 3.0.7 with MySQL on Windows server 2003 r2 server with AD integration for customers.