[rt-users] Permissions to view "More about user"

Peer Michael Michael.Peer at eurac.edu
Wed Oct 4 10:27:00 EDT 2006


Hi

You have to change the file User.pm when privileged user will view this
information. In the diff I give privileged users permission to view
comments and workphone from users.

--- /opt/rt3/lib/RT/User.pm     2005-02-01 15:20:40.000000000 +0100
+++ /opt/rt3/local/lib/RT/User.pm       2006-09-29 13:59:25.000000000
+0200
@@ -770,7 +770,7 @@
         Password =>
                {read => 1, write => 1, sql_type => 12, length => 40,
is_blob => 0,  is_numeric => 0,  type => 'varchar(40)', default => ''},
         Comments =>
-               {read => 1, write => 1, sql_type => -4, length => 0,
is_blob => 1,  is_numeric => 0,  type => 'blob', default => ''},
+               {read => 1, write => 1, public => 1, sql_type => -4,
length => 0,  is_blob => 1,  is_numeric => 0,  type => 'blob', default
=> ''},
         Signature =>
                {read => 1, write => 1, sql_type => -4, length => 0,
is_blob => 1,  is_numeric => 0,  type => 'blob', default => ''},
         EmailAddress =>
@@ -802,7 +802,7 @@
         HomePhone =>
                {read => 1, write => 1, sql_type => 12, length => 30,
is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
         WorkPhone =>
-               {read => 1, write => 1, sql_type => 12, length => 30,
is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
+               {read => 1, write => 1, public => 1, sql_type => 12,
length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)',
default => ''},
         MobilePhone =>
                {read => 1, write => 1, sql_type => 12, length => 30,
is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
         PagerPhone =>


Michael

PS: Sorry for my bad english





-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Ian
Clancy
Sent: Wednesday, 04 October, 2006 14:03
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Permissions to view "More about user"

Hi list,
I wrote a script to pull all our user information from out directory
into RT. Information such as Phone Numbers etc.. that kind of thing.
All this information can now be viewed from the root account but not
from the other privileged accounts.
What permission do i need to give to the priviliged accounts to be able
to view this information ?.
Thanks

--
Ian Clancy
IT Co-ordinator
Connaught Electronics Ltd.
Dunmore Rd,
Tuam,
Co. Galway,
Ireland.

P : ++353 93 23151
F : ++353 93 23110
E : mailto:clancyian at cel.ie
W : http://www.cel-europe.com


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial support:
sales at bestpractical.com


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



More information about the rt-users mailing list