[rt-users] privileged user is intermittently getting an admin page and a selfservice page, also can't get RightsMatrix to work

Sabuj Pattanayek sabujp at gmail.com
Fri Oct 9 12:07:25 EDT 2009


Hi,

I've got a strange problem where a user is randomly getting the
selfservice version of RT or the administrative version of RT. The
user has been given rights. I checked the user's table and there is
only 1 entry (row) that corresponds to the user's login.I validated
this by running: select id,name,emailaddress from users where name =
'loginName'; I got 1 row returned ..is this correct? What could be
causing this behavior.

I then tried to see if I could get RightsMatrix to work so I installed it:

[root at reef RTx-RightsMatrix-0.03.00]# perl Makefile.PL
Using RT configurations from
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/RT.pm:
./html  => /usr/local/rt3.8.1/share/html
./lib   => /usr/local/rt3.8.1/local/lib
Open input '/root/.cpan/build/RTx-RightsMatrix-0.03.00/t/utils.pl'
file for substitution
Open output '/root/.cpan/build/RTx-RightsMatrix-0.03.00/t/utils.pl'
file for substitution
Writing Makefile for RTx::RightsMatrix
[root at reef RTx-RightsMatrix-0.03.00]# make
Manifying blib/man3/RTx::RightsMatrix::Util.3pm
Manifying blib/man3/RTx::RightsMatrix::RolePrincipal.3pm
Manifying blib/man3/RTx::RightsMatrix.3pm
[root at reef RTx-RightsMatrix-0.03.00]# make install
Installing /usr/local/rt3.8.1/local/lib/RTx/RightsMatrix.pm
Installing /usr/local/rt3.8.1/local/lib/RTx/RightsMatrix/RolePrincipal.pm
Installing /usr/local/rt3.8.1/local/lib/RTx/RightsMatrix/Util.pm
Installing /usr/share/man/man3/RTx::RightsMatrix.3pm
Installing /usr/share/man/man3/RTx::RightsMatrix::RolePrincipal.3pm
Installing /usr/share/man/man3/RTx::RightsMatrix::Util.3pm
Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/RTx/RightsMatrix/.packlist
Appending installation info to
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
Installing /usr/local/rt3.8.1/share/html/Callbacks/RTx-RightsMatrix/User/Elements/Tabs/Default
Installing /usr/local/rt3.8.1/share/html/Callbacks/RTx-RightsMatrix/Admin/Elements/ToolTabs/Default
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/TypeRightsMatrix.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/QueueRightsMatrix.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/GroupRightsMatrix.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/QueueCFRightsMatrix.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/index.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/AssetCFRightsMatrix.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/WhereRightComesFrom.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/autohandler
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/AssetRightsMatrix
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/ObjectRightsMatrix
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/IllustrateACE
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/SelectPrincipalForRightsMatrix
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/GroupRightsMatrix
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/UserRightsTabs
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/AssetCFRightsMatrix
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/CustomFieldRightsMatrix
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/RightsMatrixTabs
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/QueueRightsMatrix
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/Elements/QueueCFRightsMatrix
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/User/TypeRightsMatrix.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/User/QueueRightsMatrix.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/User/QueueCFRightsMatrix.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/User/index.html
Installing /usr/local/rt3.8.1/share/html/Admin/Tools/RightsMatrix/User/AssetCFRightsMatrix.html
[root at reef RTx-RightsMatrix-0.03.00]# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

But it's not under Configuration -> Tools like it says it should be in
the README.

Thanks,
Sabuj Pattanayek



More information about the rt-users mailing list