<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Bitstream Vera Sans">Hi Manu, <br>
</font></p>
<p><font face="Bitstream Vera Sans">Thanks for your answer ;)</font></p>
<p><font face="Bitstream Vera Sans">I have tried to modify MyRequests
in an overlay, yesterday, but my perl coding is quite bad as you
known ;)<br>
</font></p>
<p><font face="Bitstream Vera Sans">Nevermind, I try to imagine use
CC instead of modifing the hard coded things, but in this goal,
I'll need to define watchers automatically. <br>
</font></p>
<p><font face="Bitstream Vera Sans">For example, I'll need to add
"user group" called foobar to all existing tickets in queue
foobar and the futurs created tickets in it!<br>
</font></p>
<p><font face="Bitstream Vera Sans">The question is, is it possible
?</font></p>
<p><font face="Bitstream Vera Sans">In the other hand, I don't know
why</font><font face="Bitstream Vera Sans"> one queue per
customer is not a good workflow.<br>
</font></p>
<p><font face="Bitstream Vera Sans">Thanks, <br>
</font></p>
<p><font face="Bitstream Vera Sans">Félix.<br>
</font></p>
<div class="moz-cite-prefix">Le 04/01/2017 à 09:45, Emmanuel Lacour
a écrit :<br>
</div>
<blockquote
cite="mid:d5fe295e-cb62-d829-fbc4-13003b7ba501@easter-eggs.com"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">Le 03/01/2017 à 18:27, Felix Defrance
a écrit :<br>
</div>
<blockquote
cite="mid:bec0c9bb-d977-e3a4-b0f6-2b9f6c22c4fb@d2france.fr"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<p><font face="Bitstream Vera Sans">Hi all,</font></p>
<p><font face="Bitstream Vera Sans">I don't find how I could add
ShowTickets or QueueList in SelfService.<br>
</font></p>
<p><font face="Bitstream Vera Sans">I want to allow my
unprivileged users, grouped by company name, to see all
tickets in their queue. <br>
</font></p>
<p><font face="Bitstream Vera Sans">The group rights on the
queue is correctly defined and users could access to the
tickets by entring the ticket number in the "goto Ticket"
field (top right in SelfService).<br>
</font></p>
<p><font face="Bitstream Vera Sans">I have tried to play with
CustomRole but it's not working for me. So anybody known how
I can do it?<br>
</font></p>
</blockquote>
<br>
SelfService filters ticket list to tickets the user is watcher on
(requestor or Cc). This is hard coded in
share/html/SelfService/Elements/MyRequests:<br>
<br>
my $id = $session{'CurrentUser'}->id;<br>
my $Query = "( Watcher.id = $id )";<br>
<br>
if ($status) {<br>
$status =~ s/(['\\])/\\$1/g;<br>
$Query .= " AND Status = '$status'";<br>
}<br>
<br>
<br>
so if you wan't to relax this to all tickets users have ShowTicket
rights, you have to modify this query ;)<br>
<br>
But I strongly discourage (unless really needed) to setup an RT
instance with one queue per customer, best to think queues per
internal support team and play with customroles/groups or
customfields to set the customer.<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Félix Defrance
PGP: 0x0F04DC57</pre>
</body>
</html>