I figured out the problem why only users in admins group can read news extended text.
In FormatedStory.FormatedStory(...), the line
boolean canRead = level.greaterOrEquals(Level.ACCESS_ADD);
should be changed to
boolean canRead = level.greaterOrEquals(Level.ACCESS_READ);
to allow people other than admin to read news.
To jae77,
As I look in your code in FormatedStory.FormatedStory(...), the following line is
definitely wrong:
comment = !canComment ? "" :
"modules.php?op=modload&name=News&file=article&sid=$info[sid]&$commentextra";
I don't think there is any php page link in here.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823327#3823327
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823327
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development