Re: [rt-users] More About Permissions
On Tue, Dec 08, 2009 at 10:22:28PM -0500, Jason Ledford wrote: > I see some references to the AboutThisUser callback in the mailing > list, I can't find it on my system though. I installed RT 3.8.6 > through apt in debian. This looks like the best way to do what I > want, I just need nudged in the right direction. That callback has been in ShowRequestor for a long time. You probably want to read about Overlays and Callbacks here: http://wiki.bestpractical.com/view/Customizing -kevin > ___ > From: rt-users-boun...@lists.bestpractical.com > [rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone > [falc...@bestpractical.com] > Sent: Tuesday, December 08, 2009 5:32 PM > To: rt-users@lists.bestpractical.com > Subject: Re: [rt-users] More About Permissions > > On Tue, Dec 08, 2009 at 05:00:34PM -0500, Jason Ledford wrote: > >I am trying to configure a new RT install and trying to find all the > > info I can, this part is > >eluding me though. > > > >I want me privledged users to be able to open a ticket, and click the > > more about > >link so they can get info like phone numbers and such. > > > >It seems like the only way I can enable those permissions is to enable > > global rights for > >AdminUsers and ShowConfigTab. I don't really want all these users to be > > able to modify users > >and I don't want them to see the config tab. What I am I missing for > > enabling these > >permissions, or is there another way to get what I want, maybe create a > > local version of the > >/ticket/display.html page that removes that restriction? > > You can use the AboutThisUser callback on ShowRequestor to print extra > user information. > > -kevin > ___ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > pgpk1k1IDB0oO.pgp Description: PGP signature ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] More About Permissions
I see some references to the AboutThisUser callback in the mailing list, I can't find it on my system though. I installed RT 3.8.6 through apt in debian. This looks like the best way to do what I want, I just need nudged in the right direction. Thanks again for the help. ___ From: rt-users-boun...@lists.bestpractical.com [rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone [falc...@bestpractical.com] Sent: Tuesday, December 08, 2009 5:32 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] More About Permissions On Tue, Dec 08, 2009 at 05:00:34PM -0500, Jason Ledford wrote: >I am trying to configure a new RT install and trying to find all the info > I can, this part is >eluding me though. > >I want me privledged users to be able to open a ticket, and click the more > about >link so they can get info like phone numbers and such. > >It seems like the only way I can enable those permissions is to enable > global rights for >AdminUsers and ShowConfigTab. I don't really want all these users to be > able to modify users >and I don't want them to see the config tab. What I am I missing for > enabling these >permissions, or is there another way to get what I want, maybe create a > local version of the >/ticket/display.html page that removes that restriction? You can use the AboutThisUser callback on ShowRequestor to print extra user information. -kevin ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] More About Permissions
Sorry, chunk @@ -198,7 +200,7 @@ is a separate customization, where we rename the not so useful for us 'Pager' field to 'Fax' ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] More About Permissions
On Tue, Dec 08, 2009 at 05:00:34PM -0500, Jason Ledford wrote: >I am trying to configure a new RT install and trying to find all the info > I can, this part is >eluding me though. > >I want me privledged users to be able to open a ticket, and click the more > about >link so they can get info like phone numbers and such. > >It seems like the only way I can enable those permissions is to enable > global rights for >AdminUsers and ShowConfigTab. I don't really want all these users to be > able to modify users >and I don't want them to see the config tab. What I am I missing for > enabling these >permissions, or is there another way to get what I want, maybe create a > local version of the >/ticket/display.html page that removes that restriction? You can use the AboutThisUser callback on ShowRequestor to print extra user information. -kevin pgpGmRYNhryGv.pgp Description: PGP signature ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] More About Permissions
> It seems like the only way I can enable those permissions is to enable > global rights for AdminUsers and ShowConfigTab. I don’t really want all > these users to be able to modify users and I don’t want them to see the > config tab. What I am I missing for enabling these permissions, or is there > another way to get what I want, maybe create a local version of the > /ticket/display.html page that removes that restriction? You could do that, or modify the people box to display the information in question directly. Custom fields seem like a poor fit, given the existing abilities in this area, and the likelihood of information falling out of sync. My solution has been to give the privileged users this right, and apply the patch below, which restricts more egregious user twiddling (password, privileged and creation) to the super user, but you could switch that to a custom access right. --- share/html/Admin/Users/Modify.html 2009-10-23 11:32:21.0 -0400 +++ local/html/Admin/Users/Modify.html 2009-11-29 20:42:29.0 -0500 @@ -105,6 +105,7 @@ +% if( $session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'SuperUser') ){ <&| /Widgets/TitleBox, title => loc('Access control') &> /> @@ -134,6 +135,7 @@ % } +% } % $m->callback( %ARGS, CallbackName => 'LeftColumnBottom', UserObj => $UserObj ); @@ -198,7 +200,7 @@ -<&|/l&>Pager: +<&|/l&>Fax: @@ -255,6 +257,8 @@ my ($val, $msg); +delete(@ARGS{qw/Priveleged Disabled Pass1 Pass2/}) unless( $session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'SuperUser') ); + if ($Create) { $current_tab = 'Admin/Users/Modify.html?Create=1'; $title = loc("Create a new user"); -- Cambridge Energy Alliance: Save money. Save the planet. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] More About Permissions
Jason, Have you considered creating a Ticket Custom Field that is updated with the phone number when the ticket is created? That way, a User can be given the "SeeCustomField" right as part of the "Privileged" group and they won't be able to change tickets or anything. Kenn LBNL On 12/8/2009 2:00 PM, Jason Ledford wrote: I am trying to configure a new RT install and trying to find all the info I can, this part is eluding me though. I want me privledged users to be able to open a ticket, and click the more about link so they can get info like phone numbers and such. It seems like the only way I can enable those permissions is to enable global rights for AdminUsers and ShowConfigTab. I don't really want all these users to be able to modify users and I don't want them to see the config tab. What I am I missing for enabling these permissions, or is there another way to get what I want, maybe create a local version of the /ticket/display.html page that removes that restriction? Thanks for your help ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] More About Permissions
I am trying to configure a new RT install and trying to find all the info I can, this part is eluding me though. I want me privledged users to be able to open a ticket, and click the more about link so they can get info like phone numbers and such. It seems like the only way I can enable those permissions is to enable global rights for AdminUsers and ShowConfigTab. I don't really want all these users to be able to modify users and I don't want them to see the config tab. What I am I missing for enabling these permissions, or is there another way to get what I want, maybe create a local version of the /ticket/display.html page that removes that restriction? Thanks for your help ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com