Post Edit permissions
In addition to the time limit setting a user is allowed to modify their own post, an alternative option would be to allow the user to modify until that post has been replied to.
To avoid a race condition, if "allow user modification until replied to", the time limit then prevents the post from being replied to for the limit time. "Edit Reserve Time"
(For example - say, 5 minutes default - 10 minutes max)
Someone trying to reply during that reserved user-edit time gets a pop-up - "Post editing reserved - Reply allowed in X seconds".
Additional "elegant" behavior:
Edit Reserve time expires automatically if user selects "log out".
If poster selects quick edit or modify, Edit Reserve Time starts over, and if save is selected, starts over again.
If the poster selects quick edit/save while a reply is pending - 'pending replier' gets a pop-up "Post may have changed - please save reply and review post". Otherwise, when post editing reserve time expires, replier is notified that it is OK to post reply.
Meanwhile, if the original poster had selected quick-edit or modify but the edit reserve time expires and his post is replied to, if the user then tries to save the edit, the user is notified the post has been replied to and editing is not allowed.
Unless the existing post function logic requires modification to avoid 'bad behavior' (server crash, internet implosion, etc.) implementing just a basic Edit Reserve Time option, I suppose the elegant behavior could be deferred in favor of "non-academic user training" (i.e. "All non-academic knowledge comes in suppository form.")
Re: Post Edit permissions
Reply #2 –
Roger that... well, then, how about just an either/or permissions option for user-editing-own-post to select an edit time-out, or edit-until-replied-to?
Although I still think if, in selecting the latter case, changing the edit time out to a "reply-block" time-out (to give the poster some "oops" correction time on an active dynamic site) shouldn't be too dysphoric (although as I think about it, "Preview" would serve that purpose if it didn't discard attachments to use it, I suppose. )
In any event, once a post has been replied to, further editing of it should be prevented, and if it hasn't been replied to, editing could be allowed - maybe if edited after the reply-block time out expires stuff an "updated" flag on it for a week or say..if it's then replied to, which flags the thread as having a "new" post and the "updated" flag can go away)? :-b
After all - current logic shows when it was last edited by the user..
(Although as I think about it more, it's entirely possible this is a proposed solution in search of a theoretical problem..)
Edit: For some reason smileys don't work for me now.. :-[
(to wit ---vv)
Re: Post Edit permissions
Reply #9 –
Thanks for the explanation of what you found, that it will greatly help in finding what is going on !