People as Cc of a ticket cant see the ticket in the selftservice portal.
I have try to adjust right “SeeQueue” and “watch” for the group “Cc” but it dont work.
I think i missing something like “WatchAsCc”, but i dont see anykind of right who can do that.
Add the right “ShowTicket” for the Cc group.
Modify the file /opt/rt5/share/html/SelfService/Elements/MyRequests
Change the line:
$SortByRole => ‘Requestor’ # Role to use when determining “My” tickets
By the the line:
$SortByRole => ‘Watcher’ # Role to use when determining “My” tickets
If another solution is avaible (not hardcoded in the core), i will be happy to give a try.
These are actually the same file linked together, and the file contains the
the following:
%# Callback to make “Watcher” the SortByRole for SelfService pages instead of
%# the default value of “Requestor”. This allows SelfService to list tickets
%# that they have a Cc, AdminCc or EcsUsers role on. The latter is a local
%# CustomRole that allows a user to see tickets they submitted using alternate
%# email addresses.
<%ARGS>
$ARGSRef => undef
</%ARGS>
<%INIT>
$ARGSRef->{SortByRole} = “Watcher”;
</%INIT>
I think that the RT4 SelfService explicitly queried for Watcher.id rather than $SortByRole.id - I’m not sure why this behaviour was changed?
It might be nice if the SortByRole variable in SelfService/Elements/MyRequests was exposed as a config setting. But what we have works well enough for us so I never bothered looking at implementing that…