Re: [rt-users] Using self service interface for privileged users in 4.4.1?
On Wed, Oct 12, 2016 at 8:51 AM, Alex Hallwrote: > The below code is great, thank you. I'm trying now to figure out a way to > toggle the interface while staying on the current page, but I'll have to do > more reading first. > > Using callbacks, can I remove items from existing templates? That is, could > I remove the 'Assets' menu item in addition to adding my own menu items? Yep. We add menu items for our own extensions and also remove/repurpose other menu items. -m - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Using self service interface for privileged users in 4.4.1?
The below code is great, thank you. I'm trying now to figure out a way to toggle the interface while staying on the current page, but I'll have to do more reading first. Using callbacks, can I remove items from existing templates? That is, could I remove the 'Assets' menu item in addition to adding my own menu items? Or provide my own implementation of something, like modifying the text of an existing menu item? My ultimate goal is still to simplify the history display on ticket summaries, but the menu seems a safe place to get my feet wet. I did also download and look at the source of that extension. It's making some sense, but I'm still very new to Perl and Mason, so am learning them at the same time as the callback mechanisms. I'll get there. :) On Wed, Oct 12, 2016 at 3:23 AM, Emmanuel Lacourwrote: > Le 11/10/2016 à 20:11, Matt Zagrabelny a écrit : > > On Tue, Oct 11, 2016 at 8:05 AM, Alex Hall 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;' }); > > > > 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;' }); > } > > > > > > ;) > - > RT 4.4 and RTIR training sessions, and a new workshop day! > https://bestpractical.com/training > * Boston - October 24-26 > * Los Angeles - Q1 2017 > -- Alex Hall Automatic Distributors, IT department ah...@autodist.com - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Using self service interface for privileged users in 4.4.1?
Le 11/10/2016 à 20:11, Matt Zagrabelny a écrit : > On Tue, Oct 11, 2016 at 8:05 AM, Alex Hallwrote: >> 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;' }); 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;' }); } ;) - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Using self service interface for privileged users in 4.4.1?
On Tue, Oct 11, 2016 at 8:05 AM, Alex Hallwrote: > 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. -m - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
[rt-users] Using self service interface for privileged users in 4.4.1?
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. -- Alex Hall Automatic Distributors, IT department ah...@autodist.com - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017