Le 11/10/2016 à 20:11, Matt Zagrabelny a écrit :
> On Tue, Oct 11, 2016 at 8:05 AM, Alex Hall <ah...@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>




;)
---------
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

Reply via email to