Locked wiki pages
Sometimes it would be good to make wiki pages locked so that only certain people can edit them. This could be high-profile home pages, download pages, etc.
Probably it would be good to have a new permission "can lock or unlock wiki pages" or some such thing, so that we can define which roles can edit these loccked pages, or mark pages locked or unlocked.
#1 Updated by Jean-Philippe Lang over 12 years ago
I agree. A new permission 'Protect wiki pages' would be added.Users with this permission would be able to:
- protect/unprotect wiki pages
- edit protected pages (so that people don't have to unprotect, edit then re-protect a page if they have to make a change)
Users with only 'edit wiki pages' permission wouldn't be able to edit protected pages.
#3 Updated by Mateo Murphy over 12 years ago
- File 851.diff added
Here is a patch implementing this feature, along with some functional tests. Currently, protecting the page only affects the edit permission, it doesn't touch the delete or rename permissions; let me know if it should work differently.