[rt-users] Using self service interface for privileged users in 4.4.1?

Emmanuel Lacour elacour at easter-eggs.com
Wed Oct 12 03:23:53 EDT 2016


Le 11/10/2016 à 20:11, Matt Zagrabelny a écrit :
> On Tue, Oct 11, 2016 at 8:05 AM, Alex Hall <ahall at autodist.com> wrote:
>> Hello list,
>> I have 4.4.1 running. Someone said on this list that it included the option
>> to use the self service interface, even for privileged users? I don't see
>> that option in my user preferences. How do I enable it, and can I have a
>> toggle for users to switch between the two without leaving the ticket
>> they're viewing? Thanks.
> Privileged users can always browse to:
>
> rt.example.com/SelfService
>
> You can probably use a callback to add a link to the self service URL
> for displaying a ticket.

link from standard UI to selfservice:

rt/local/html/Callbacks/YourOrg/Elements/Tabs/Privileged:

<%init>
Menu->child( 'simplified-ui' => title => loc("SelfService"), sort_order
=> 1, path => '/SelfService/', attributes => { style => 'font-style:
italic;' });
</%init>


link back to standard UI from selfservice:

rt/local/html/Callbacks/YourOrg/Elements/Tabs/SelfService:
<%init>
# Add link to full UI if allowed
if ( $session{CurrentUser}->Privileged ) {
Menu->child( 'full-ui' => title => loc("Full web interface"), sort_order
=> 1, path => '/index.html', attributes => { style => 'font-style:
italic;' });
}
</%init>




;)



More information about the rt-users mailing list