Re: Using self service interface for privileged users in 4.4.1?

Emmanuel Lacour <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <[email protected]>
Le 11/10/2016 à 20:11, Matt Zagrabelny a écrit :
> On Tue, Oct 11, 2016 at 8:05 AM, Alex Hall <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.