colinlewis
Member
Posted 5 years ago #
I would like to give an author the ability to edit another author's post when both authors have the same user level - in other words, a user level 2 can edit any other user level 2 post. At the moment, if I write a level 2 post and then log in as a different level 2 user, I can't edit.
Any ideas? Thanks.
/Colin
Seems you have to twist either the query that allows you to edit, or do something like:
Any of these users get a level 3 (out of the blue) for editing, while he keeps his level 2 (from the DB) when posting.
It would require a bit of code tweaking....
colinlewis
Member
Posted 5 years ago #
Hmm...duel levels seems a bit complicated. Couldn't one simply comment out the code which checks the user level? I've tried this so far with post.php but no success yet.
The funny thing is that other people have had this situation in reverse: everyone can edit and they want to restrict this function.
(an example here)