This content has been marked as final. Show 1 reply
"DanielGallot" wrote:Well, a bug or lack of feature, no difference, yet another issue to solve ;-).
That you consider that a bug or not, for the moment, we are looking for a workaround.
"DanielGallot" wrote:1. You can modify JSF pages flow by modifying forums-config.xml and disable user preferences screen or summary view.
For instance, by using the existing preferences parameter "Topics limit", with the value 0, a user has no more summary page. But a registered user can modifiy it.
So is it possible to add acl-mappings to give right or not to see and use the "Topic summary" part under the preferences ? Or even acl-mappings to give access or not to the Edit button (an anonymous user has not the Edit button) ?
Do you see another workaround ?
2. You can modify <c:if> tag in http://anonsvn.labs.jboss.com/labs/jbossforums/branches/forums101P26/forums/src/resources/portal-forums-war/views/index.xhtml file so that it never goes to summary page.
But in general, I consider this approach as wrong. It looks like normal approach when using closed source software ;-). But it's open source! Instead of looking for workarounds, hacks etc. why don't you just improve summary.xhtml and ViewSummary.java to work properly? It shouldn't be hard and then you can create a patch task in JBForums' JIRA and I'll add your changes to codebase. What you and other Forums users gain:
- no hacking
- software improvement, the change will be in codebase so you won't need to maintain and add it when upgrading to a new version of Forums
- no constrained features, as you will still have working summary view
- finally the feeling that you made lives of other community users better ;-).
JBoss Forums Lead
JBoss Labs Team