-
1. Re: news modules submitted
vietk Jun 21, 2003 4:25 AM (in response to vietk)oooppsss ... have you seen the errors in the urls ....
replace the '&' by a '?' after index.html
sorry : ) -
2. Re: news modules submitted
jkester Jun 23, 2003 12:02 PM (in response to vietk)I managed to deploy news, login as admin and create topics, news, submit news.
From the admin page I can see the published news. From anonymous users or normal users I can't see any news. There is no link, nor a direct call to module=news&op=newsindexpage works. Just a white page is returned, with nothing in it.
What am I doing wrong here? Some access rights?
Regards, Jan -
3. Re: news modules submitted
julien1 Jun 23, 2003 4:22 PM (in response to vietk)are you logged as admin ?
julien -
4. Re: news modules submitted
julien1 Jun 23, 2003 4:27 PM (in response to vietk)I mean when you log as admin you should have 3 links for the news module. one allow you to create a topic, another to submit a news and the last one to process it.
julien -
5. Re: news modules submitted
jkester Jun 24, 2003 4:32 AM (in response to vietk)As admin I can see/use all the mentioned functionality. Only, after having added news, it is only visible to admin.
Logging out and looking as a normal user, or as an anonymous user, I can't see the new news items.
Neither by a link, neither by calling the module explicitly. -
6. Re: news modules submitted
julien1 Jun 24, 2003 5:41 AM (in response to vietk)you have to add permissions rules to nukes for anonymous and users. it ha not been done, I should do it soon for the default config.
julien -
7. Re: news modules submitted
jkester Jun 24, 2003 2:16 PM (in response to vietk)Julien
so far it is fun to sort out all these things. Though I have to admit is not that easy. Just added some logging of log4j :-).
OK, found out that the permissions are set in the nukes jboss-service.xml.
Added lines for anonymous:
<group-permission permission="0/READ/core:menu:/menu:news:newsindexpage"/>
<group-permission permission="0/READ/news::/::"/>
The upper line indeed adds the news entry to my menu. The lower line doesn't seem to do anything. I was hopening it would give proper permissions.
However, still when I select module=news&op=newsindexpage from admin, I see a list of news, doing the same for anonymous I get a white page.
I added a debug line in the NewsModule newsindexpage method and it does get till there.
Any idea what I do wrong? How should I set the proper permissions?
Regards, Jan -
8. Re: news modules submitted
julien1 Jun 25, 2003 6:31 AM (in response to vietk)module is still early commited, we are improving it now and debugging it as well.
security scheme will probably change soon and once finished I will modify nukes security to allow anonymous user to read news, registered to post and admin to admin.
julien