<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=MoreAboutPrivilegedUsers</id>
	<title>MoreAboutPrivilegedUsers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=MoreAboutPrivilegedUsers"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=MoreAboutPrivilegedUsers&amp;action=history"/>
	<updated>2026-08-24T02:11:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=MoreAboutPrivilegedUsers&amp;diff=2252&amp;oldid=prev</id>
		<title>Admin: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=MoreAboutPrivilegedUsers&amp;diff=2252&amp;oldid=prev"/>
		<updated>2016-04-06T20:15:43Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In 3.6.3 there is a block on the ticket display page that shows information about each requestor (new/open tickets, user comments, group membership). This information is only displayed for non-privileged users, though, and in my setup, 99% of the users are privileged.&lt;br /&gt;
&lt;br /&gt;
One simply fix is to edit html/Ticket/Elements/ShowRequestor and take out the little bit that restricts this to non-privileged users, changing this:&lt;br /&gt;
&lt;br /&gt;
 next if $requestor-&amp;amp;gt;Privileged;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
into:&lt;br /&gt;
&lt;br /&gt;
 %#next if $requestor-&amp;amp;gt;Privileged;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
But then any privileged user would see this information. That&amp;#039;s not what I wanted, so I created a new Group Right (&amp;quot;ShowMoreAbout&amp;quot;) and assigned it to just those users I wanted to have it. In order to create a new group right, edit the file local/lib/RT/Group_Local.pm, adding this code:&lt;br /&gt;
&lt;br /&gt;
 use vars qw( $RIGHTS );&lt;br /&gt;
 &lt;br /&gt;
 $RIGHTS = {&lt;br /&gt;
    ShowMoreAbout        =&amp;amp;gt; &amp;#039;Show the &amp;quot;More about &amp;amp;lt;user&amp;amp;gt;&amp;quot; on ticket detail screen.&amp;#039;,&lt;br /&gt;
    %$RIGHTS&lt;br /&gt;
 };&lt;br /&gt;
 &lt;br /&gt;
 foreach my $right ( keys %$RIGHTS ) {&lt;br /&gt;
     $RT::ACE::LOWERCASERIGHTNAMES{ lc $right } = $right;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
(I forget where I picked this code up; it&amp;#039;s not on the wiki, that I can see.) If you are creating this file for the first time, don&amp;#039;t forget to add this at the top of the file:&lt;br /&gt;
&lt;br /&gt;
 package RT::Group;&lt;br /&gt;
 &lt;br /&gt;
 use strict;&lt;br /&gt;
 no warnings qw(redefine);&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
and this at the bottom:&lt;br /&gt;
&lt;br /&gt;
 1;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
See [[CleanlyCustomizeRT]] for more info.&lt;br /&gt;
&lt;br /&gt;
After you&amp;#039;ve created the right, you can use it in ShowRequestor. Instead of commenting out the line above, change it:&lt;br /&gt;
&lt;br /&gt;
 my $has_right_showmore = $session{&amp;#039;CurrentUser&amp;#039;}-&amp;amp;gt;HasRight(Object =&amp;amp;gt; $RT::System, Right =&amp;amp;gt; &amp;#039;ShowMoreAbout&amp;#039;);&lt;br /&gt;
 next if ((! $has_right_showmore) &amp;amp;amp;&amp;amp;amp; ($requestor-&amp;amp;gt;Privileged));&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, all privileged users will see the More About box for non-privileged users, but only people with the ShowMoreAbout right will see the More About box for privileged users.&lt;br /&gt;
&lt;br /&gt;
All of this was done on top of 3.6.3; I have not tested it with any other release. If you find any problems with it, let me know -- [[JoeCasadonte]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>