Can't create articles in RTFM

I have 1 user that can’t create RTFM articles, but others can. How can
I debug this?

The only difference is the the working users have a SuperUser.
However, when I add SuperUser to this failing user, they still can’t
create articles. I guess another question to ask is, “What are the
minimum privs required to be able to create articles in RTFM?”

The sequence is:
RTFM -> Articles -> New Article -> in class Drafts ->
The error “RTFM Error” " No permission to view Article" is displayed.

Here is the log when the user fails:

Jan 21 12:17:49 ws1 RT: Trying to check RT::FM::Class rights for an
unspecified RT::FM::Class (/home/rt/lib/RT/Principal_Overlay.pm:355)
Jan 21 12:17:49 ws1 RT: Trying to check RT::FM::Article rights for an
unspecified RT::FM::Article at /home/rt/lib/RT/Principal_Overlay.pm
line 354
^IRT::Principal::HasRight(‘RT::
Principal=HASH(0x9b7be90)’,‘Right’,‘ShowArticle’,‘Object’,‘RT::FM::
Article=HASH(0x9b85f88)’,‘EquivObjects’,‘ARRAY(0x9b7c934)’) called at
/home/rt/lib/RT/User_Overlay.pm line 1450
^IRT::User::HasRight(‘RT::
User=HASH(0x9a9f068)’,‘Right’,‘ShowArticle’,‘Object’,‘RT::FM::
Article=HASH(0x9b85f88)’,‘EquivObjects’,‘ARRAY(0x9b7c934)’) called at
/home/rt/lib/RT/CurrentUser.pm line 305
^IRT::CurrentUser::HasRight(‘RT::
CurrentUser=HASH(0x9b7cfe8)’,‘Right’,‘ShowArticle’,‘Object’,‘RT::FM::
Article=HASH(0x9b85f88)’,‘EquivObjects’,‘ARRAY(0x9b7c934)’) called at
/home/rt/lib/RT/FM/Article_Overlay.pm line 1144
^IRT::FM::Article::CurrentUserHasRight(‘RT::FM::
Article=HASH(0x9b85f88)’,‘ShowArticle’) called at
/home/rt/share/html/RTFM/Article/Edit.html line 273
^IHTML::Mason::Commands::ANON(‘Class’,1,‘Class’,1) called at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Com
Jan 21 12:17:49 ws1 RT: Trying to check RT::FM::Article rights for an
unspecified RT::FM::Article (/home/rt/lib/RT/Principal_Overlay.pm:355)

Here is the log when other users succeed:

Jan 21 12:24:04 ws1 RT: Trying to check RT::FM::Class rights for an
unspecified RT::FM::Class (/home/rt/lib/RT/Principal_Overlay.pm:355)
Jan 21 12:24:04 ws1 RT: Trying to check RT::FM::Article rights for an
unspecified RT::FM::Article at /home/rt/lib/RT/Principal_Overlay.pm
line 354
^IRT::Principal::HasRight(‘RT::
Principal=HASH(0x9cb859c)’,‘Right’,‘ShowArticle’,‘Object’,‘RT::FM::
Article=HASH(0x9bf522c)’,‘EquivObjects’,‘ARRAY(0x9a1dfb8)’) called at
/home/rt/lib/RT/User_Overlay.pm line 1450
^IRT::User::HasRight(‘RT::
User=HASH(0x9ac17e0)’,‘Right’,‘ShowArticle’,‘Object’,‘RT::FM::
Article=HASH(0x9bf522c)’,‘EquivObjects’,‘ARRAY(0x9a1dfb8)’) called at
/home/rt/lib/RT/CurrentUser.pm line 305
^IRT::CurrentUser::HasRight(‘RT::
CurrentUser=HASH(0x9b52b10)’,‘Right’,‘ShowArticle’,‘Object’,‘RT::FM::
Article=HASH(0x9bf522c)’,‘EquivObjects’,‘ARRAY(0x9a1dfb8)’) called at
/home/rt/lib/RT/FM/Article_Overlay.pm line 1144
^IRT::FM::Article::CurrentUserHasRight(‘RT::FM::
Article=HASH(0x9bf522c)’,‘ShowArticle’) called at
/home/rt/share/html/RTFM/Article/Edit.html line 273
^IHTML::Mason::Commands::ANON(‘Class’,4,‘Class’,4) called at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Com
Jan 21 12:24:04 ws1 RT: Trying to check RT::FM::Article rights for an
unspecified RT::FM::Article (/home/rt/lib/RT/Principal_Overlay.pm:355)
Jan 21 12:24:04 ws1 RT: Resolver RT::URI::fsck_com_rtfm could not parse
fsck.com-rtfm://mailroom.deanforamerica.com/article/
(/home/rt/lib/RT/URI.pm:123)

Thanks!
–tal

It magically started working. My theory is that posting to the
mailing list magically fixes bugs. :slight_smile:

Thanks mailing list!

–tal

Tom Limoncelli - tal@whatexit.org Today’s mighty oak
http://whatexit.org/tal is just yesterday’s nut
http://www.EverythingSysadmin.com that held it’s ground!