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

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
LBNLOn 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: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

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.000000000 -0400
+++ local/html/Admin/Users/Modify.html 2009-11-29 20:42:29.000000000 -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.

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

Sorry, chunk @@ -198,7 +200,7 @@ is a separate customization,
where we rename the not so useful for us ‘Pager’ field to ‘Fax’

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-bounces@lists.bestpractical.com [rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin Falcone [falcone@bestpractical.com]
Sent: Tuesday, December 08, 2009 5:32 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [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?

You can use the AboutThisUser callback on ShowRequestor to print extra
user information.

-kevin

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