Re: [rt-users] Viewing user profiles without modification rights?
I figured it out. It may not be the cleanest, but it works... I have an overlaid version of Ticket/Elements/ShowRequestor, below are my modificaitons (in the order that they are in the file): Change this: next if $requestor-Privileged; To this: #next if $requestor-Privileged; Change this: title_href = $has_right_adminusers? RT-Config-Get('WebPath')./ Admin/Users/Modify.html?id=.$requestor-id: undef, To this: title_href = RT-Config-Get('WebPath')./Admin/Users/Modify.html? id=.$requestor-id, Add this: |/lUser Profile/:br/ % my $requestorP = RT::User-new($RT::SystemUser); % $requestorP-Load($requestor-id); % my @items = ( %# Change etc to whatever makes sense for your org. % [etc, $requestorP-Organization], % [etc, $requestorP-WorkPhone], % [etc, $requestorP-City], % [etc, $requestorP-Address2] ); ul % foreach my $item ( @items ) { % if ( ${$item}[1] ne ) { li% ${$item}[0] %: % ${$item}[1] %/li % } % } /ul Wherever you want in the profile (I do just before |/lGroups this user belongs to/) Thanks, Johnathan On Aug 6, 2009, at 2:01 PM, Jerrad Pierce wrote: On Mon, Jul 27, 2009 at 08:57, Johnathan Belljohnathan.b...@baker.edu wrote: Actually, no, the modify user page produces an error... the page actually doesn't say anything, (except for the page footer text of Time to display: x.xxx and RT 3.8.4 Copyright 1996-2009 Best Practical blah blah blah... the long itself says nothing either. Apparently you also need ShowConfigTab -- Cambridge Energy Alliance: Save money. Save the planet. -- Johnathan Bell Internet System Administrator, Baker College Office Hours: 7A - 4P Eastern, M-F ___ 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] Viewing user profiles without modification rights?
You don't have to give the AdminUsers right. I think it is enough givinig the Global ShowConfigTab right for the users who can see others profile. Giving this right allows them to see the profile of others but not to modify them unless you also grant AdminUser or any other grant. On the other hand, giving this right also allows them to see almost any other configuration (but not modifying it unless you give additional rights, so be careful). Take care, Carlos Johnathan Bell wrote: I thought there was some way for ticket responders to view the information about the user who requested the ticket, specifically, the user's profile. However, I can't see that anywhere. I know that I can turn on the AdminUsers right, but I don't really want to give out the ability to modify a user's profile, just view it. Is this possible? What do I need to do? Thanks, Johnathan -- Johnathan Bell Internet System Administrator, Baker College ___ 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 -- ___ ___ | __ __ | Carlos García MontoroIngeniero Informático |_\_Y_/_| Instituto de Física Corpuscular Centro Mixto CSIC - UV |\_] [_/| Servicios Informáticos | [_] | Edificio Institutos de Investigacióncgar...@ific.uv.es |C S I C| Apartado de Correos 22085 E-46071 Valencia Tel: +34 963543706 |___| España / Spain Fax: +34 963543488 begin:vcard fn;quoted-printable:Carlos Garc=C3=ADa Montoro n;quoted-printable:Garc=C3=ADa Montoro;Carlos org;quoted-printable;quoted-printable:Instituto de F=C3=ADsica Corpuscular;Servicios Inform=C3=A1ticos adr;quoted-printable:Apartado de Correos 22085;;Edificio Institutos de Investigaci=C3=B3n;Valencia;Valencia;E-46071;Spain email;internet:carlos.gar...@ific.uv.es tel;work:(+34) 96 354 37 06 x-mozilla-html:TRUE version:2.1 end:vcard ___ 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] Viewing user profiles without modification rights?
I thought there was some way for ticket responders to view the information about the user who requested the ticket, specifically, the user's profile. However, I can't see that anywhere. I know that I can turn on the AdminUsers right, but I don't really want to give out the ability to modify a user's profile, just view it. Is this possible? What do I need to do? Thanks, Johnathan -- Johnathan Bell Internet System Administrator, Baker College ___ 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] Viewing user profiles without modification rights?
We have custom fields that are populated with that information when the ticket is created. They can be viewed without the AdminUsers right. One idea. Ken On Thu, Jul 09, 2009 at 08:09:50AM -0400, Johnathan Bell wrote: I thought there was some way for ticket responders to view the information about the user who requested the ticket, specifically, the user's profile. However, I can't see that anywhere. I know that I can turn on the AdminUsers right, but I don't really want to give out the ability to modify a user's profile, just view it. Is this possible? What do I need to do? Thanks, Johnathan -- Johnathan Bell Internet System Administrator, Baker College ___ 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
Re: [rt-users] Viewing user profiles without modification rights?
If I recall correctly, the profile page is still displayable without the ACL, but the ticket display page uses the ACL to determine whether or not to link to the page. Tickets/Elements/ShowRequestor has: title_href = $has_right_adminusers? RT-Config-Get('WebPath')./Admin/User s/Modify.html?id=.$requestor-id: undef but there is no HasRight check in Admin/Users/Modify.html So you ought to be make a local variant of the former to always link ___ 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