I have added a new add-on.
User x is allowed to edit his posts without any time limit, if post has message_state == moderated;
this works fine for me.
User x should be allowed to edit his own post without any time limit, if post has message_state == deleted;
but now I get "edit" and "undelete".
How can I get rid of "undelete"?
The user should be allowed to edit the deleted post, then the post should be "moderated",
but he should not be allowed to "undelete" the post.
How can I avoid "undelete"?
User x is allowed to edit his posts without any time limit, if post has message_state == moderated;
this works fine for me.
User x should be allowed to edit his own post without any time limit, if post has message_state == deleted;
but now I get "edit" and "undelete".
How can I get rid of "undelete"?
The user should be allowed to edit the deleted post, then the post should be "moderated",
but he should not be allowed to "undelete" the post.
How can I avoid "undelete"?
Last edited: