• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

How do I restrict posting to a particular Forum

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the jCVS forums, I have a forum for announcements. I would like to make it so that only one user can post to that forum, and no one can reply to a post. In other words, forum posting is restricted to one user, and all topics are locked so no replies. Can I do this with the current permissions structure? It was not clear to me how to set the permissions.

I do not know what "Restricted Forum" means in the user and group permissions. Does that mean the user can't see the forum? Can't post? Can't reply?

Is there a document or post that explains the permissions?
[originally posted on jforum.net by time]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

time wrote:In the jCVS forums, I have a forum for announcements. I would like to make it so that only one user can post to that forum, and no one can reply to a post. In other words, forum posting is restricted to one user, and all topics are locked so no replies. Can I do this with the current permissions structure? It was not clear to me how to set the permissions.



This functionality currently does not exist on JForum. I registered it as New Feature:

http://www.jforum.net/jira/browse/JF-29

Is not hard to implement, so much probably it will be available on RC4.

time wrote:
I do not know what "Restricted Forum" means in the user and group permissions. Does that mean the user can't see the forum? Can't post? Can't reply?

Is there a document or post that explains the permissions?



JForum lacks documentation at all. I didn't have time yet to write it :?

The permissions are exclusive, so if you check something, the user / group will not have the permission in question.
Anyway, I know that permission control schema is hard to understand. This need to be improved as well.

Just for information, all permissions are defined at WEB-INF/config/permissions.xml. So, we just need to declare the new permission in there, and write some Java code to check for access rights in the places we want the new permission to work.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Talk sense to a fool and he calls you foolish. -Euripides A foolish tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic