aspose file tools
The moose likes JForum and the fly likes Is it possible not allow users to edit their posts? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JForum
Reply Bookmark "Is it possible not allow users to edit their posts?" Watch "Is it possible not allow users to edit their posts?" New topic
Author

Is it possible not allow users to edit their posts?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,
Is there possibility to set that user can't edit even their own posts after it was posted? Event better would be if they can't edit post after somebody has already replied to it.
[originally posted on jforum.net by palko]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
A quick and dirty way to do this would be to modify the templates to disable editing. You might be able to use Freemarker's script to check for replys as well.

A more full-proof way would be to modify the PostAction.edit() method to do what you want.
[originally posted on jforum.net by monroe]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Is it possible not allow users to edit their posts?
 
Similar Threads
Interface quiestion
editing posts
Edit button for old posts
java runtime
coderanch won't let me edit anything