Feature #851
Locked wiki pages
Status: | Closed | Start date: | 2008-03-14 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Wiki | |||
Target version: | 0.8 | |||
Resolution: | Fixed |
Description
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.
Related issues
Associated revisions
History
#1
Updated by Jean-Philippe Lang almost 15 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.
#2
Updated by Jean-Philippe Lang almost 15 years ago
- Target version set to 0.8
#3
Updated by Mateo Murphy almost 15 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.
#4
Updated by Jean-Philippe Lang almost 15 years ago
- Category set to Wiki
- Status changed from New to Closed
- Resolution set to Fixed