oooppsss ... have you seen the errors in the urls ....
replace the '&' by a '?' after index.html
sorry : )
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?
are you logged as admin ?
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.
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.
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.
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:
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?
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.