[rt-users] RT 3.0.8 + RTFM 2.0.2: permission error?

Patrick Hurley phurley at tacc.utexas.edu
Mon Jan 12 15:11:48 EST 2004


Greetings,

Perhaps I haven't had enough coffee today.  Perhaps my head is stuck in
a very small ceramic jar.  Nonetheless, I'm apparently missing something
obvious.

I just installed RTFM 2.0.2 (already running RT 3.0.8 on RH9 w/
Postgres, Apache 1.3x/mod_perl1), which went completely as the docs said
it would (except for having to edit the DB_DBA value in the Makefile).
RTFM shows up fine in RT.  I created a class.  I created two custom
fields (SelectSingle and TextSingle).  I added those fields to the
class.  For testing purposes, I gave root every right for that class.

I then attempted to, logged in as root, extract an article from a
ticket, selected the history I wished to include, and then immediately
received:

  "RTFM Error
   No permission to view Article"

Ok.  I then attempted to go under Articles and simply select New
Article.  Again, the same error occurred.

If someone could guide my gelatinous head to what I may be doing wrong,
it would be much appreciated.  Below I have included the errors that
show up in /var/log/messages.  


Thanks,

ph.

-----

/var/log/messages

Jan 12 14:06:55 rt RT: Checking for a class of
(/opt/rt3/share/html/RTFM/Article/Search.html:161) 

Jan 12 14:06:57 rt RT: Trying to check RT::FM::Class rights for an
unspecified RT::FM::Class at /opt/rt3/lib/RT/Principal_Overlay.pm line
354
^IRT::Principal::HasRight('RT::Principal=HASH(0x987dbb4)','Right','ShowA
rticle','Object','RT::FM::Article=HASH(0x979a498)','EquivObjects','ARRAY
(0x979a3b4)') called at /opt/rt3/lib/RT/User_Overlay.pm line 1450
^IRT::User::HasRight('RT::User=HASH(0x987f584)','Right','ShowArticle','O
bject','RT::FM::Article=HASH(0x979a498)','EquivObjects','ARRAY(0x979a3b4
)') called at /opt/rt3/lib/RT/CurrentUser.pm line 305
^IRT::CurrentUser::HasRight('RT::CurrentUser=HASH(0x9782fa8)','Right','S
howArticle','Object','RT::FM::Article=HASH(0x979a498)','EquivObjects','A
RRAY(0x979a3b4)') called at /opt/rt3/lib/RT/FM/Article_Overlay.pm line
1144
^IRT::FM::Article::CurrentUserHasRight('RT::FM::Article=HASH(0x979a498)'
,'ShowArticle') called at /opt/rt3/share/html/RTFM/Article/Edit.html
line 273 ^IHTML::Mason::Commands::__ANON__('Class',1,'Class',1) called
at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm 

Jan 12 14:06:58 rt RT: Trying to check RT::FM::Class rights for an
unspecified RT::FM::Class (/opt/rt3/lib/RT/Principal_Overlay.pm:355)

Jan 12 14:06:58 rt RT: Trying to check RT::FM::Article rights for an
unspecified RT::FM::Article at /opt/rt3/lib/RT/Principal_Overlay.pm line
354
^IRT::Principal::HasRight('RT::Principal=HASH(0x987dbb4)','Right','ShowA
rticle','Object','RT::FM::Article=HASH(0x979a498)','EquivObjects','ARRAY
(0x979a3b4)') called at /opt/rt3/lib/RT/User_Overlay.pm line 1450
^IRT::User::HasRight('RT::User=HASH(0x987f584)','Right','ShowArticle','O
bject','RT::FM::Article=HASH(0x979a498)','EquivObjects','ARRAY(0x979a3b4
)') called at /opt/rt3/lib/RT/CurrentUser.pm line 305 ^IRT::
CurrentUser::HasRight('RT::CurrentUser=HASH(0x9782fa8)','Right','ShowArt
icle','Object','RT::FM::Article=HASH(0x979a498)','EquivObjects','ARRAY(0
x979a3b4)') called at /opt/rt3/lib/RT/FM/Article_Overlay.pm line 1144
^IRT::FM::Article::CurrentUserHasRight('RT::FM::Article=HASH(0x979a498)'
,'ShowArticle') called at /opt/rt3/share/html/RTFM/Article/Edit.html
line 273 ^IHTML::Mason::Commands::__ANON__('Class',1,'Class',1) called
at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component

Jan 12 14:06:58 rt RT: Trying to check RT::FM::Article rights for an
unspecified RT::FM::Article (/opt/rt3/lib/RT/Principal_Overlay.pm:355)
Jan 12 14:06:58 rt RT: DBD::Pg::st execute failed: ERROR:  pg_atoi:
zero-lengthstring at
/usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Handle.pm line 410.
(/opt/rt3/lib/RT.pm:247)

Jan 12 14:06:58 rt RT: RT::Handle=HASH(0x93b0fa8) couldn't execute the
query 'SELECT ACL.id from ACL, Groups, Principals, CachedGroupMembers
WHERE  (ACL.RightName = 'SuperUser' OR  ACL.RightName = 'ShowArticle')
AND Principals.Disabled = 0AND CachedGroupMembers.Disabled = 0  AND
Principals.id = Groups.id AND  Principals.id =
CachedGroupMembers.GroupId AND CachedGroupMembers.MemberId = '12' AND
(ACL.ObjectType = 'RT::System' OR (ACL.ObjectType = 'RT::FM::System' AND
ACL.ObjectId = '1') OR (ACL.ObjectType = 'RT::FM::Class' AND
ACL.ObjectId = '') OR (ACL.ObjectType = 'RT::FM::Article' AND
ACL.ObjectId = '')) AND ( (  ACL.PrincipalId
= Principals.id AND ACL.PrincipalType = 'Group' AND (Groups.Domain =
'SystemInternal' OR Groups.Domain = 'UserDefined' OR Groups.Domain =
'ACLEquivalence' OR Groups.Domain = 'Personal')) )  LIMIT 1' at
/usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Handle.pm line 417.
(/opt/rt3/lib/RT.pm:247)

Jan 12 14:06:58 rt RT: DBD::Pg::st execute failed: ERROR:  pg_atoi:
zero-length string at
/usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Handle.pm line 410.
(/opt/rt3/lib/RT.pm:247)

Jan 12 14:06:58 rt RT: RT::Handle=HASH(0x93b0fa8) couldn't execute the
query 'SELECT ACL.id from ACL, Groups, Principals, CachedGroupMembers
WHERE  (ACL.RightName = 'SuperUser' OR  ACL.RightName = 'ShowArticle')
AND Principals.Disabled = 0 AND CachedGroupMembers.Disabled = 0  AND
Principals.id = Groups.id AND  Principals.id =
CachedGroupMembers.GroupId AND CachedGroupMembers.MemberId = '12' AND
(ACL.ObjectType = 'RT::System' OR (ACL.ObjectType = 'RT::FM::System' AND
ACL.ObjectId = '1') OR (ACL.ObjectType = 'RT::FM::Class' AND
ACL.ObjectId = '') OR (ACL.ObjectType = 'RT::FM::Article' AND
ACL.ObjectId = '')) AND  ( ((Groups.Domain =
'RT::FM::System-Role' AND Groups.Instance = 1)  OR (Groups.Domain =
'RT::FM::Class-Role' AND Groups.Instance = 0)  OR (Groups.Domain =
'RT::FM::Article-Role' AND Groups.Instance = 0)  )  AND Groups.Type =
ACL.PrincipalType AND Groups.Id = Principals.id AND
Principals.PrincipalType = 'Group')  LIMIT 1' at
/usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Handle.pm line 417.
(/opt/rt3/lib/RT.pm:

Jan 12 14:06:58 rt RT: WebRT: No permission to view Article ()
(/opt/rt3/share/html/RTFM/Elements/Error:48)



---




More information about the rt-users mailing list