Vote #62842
完了Locked wiki pages
0%
説明
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.
journals
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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Done in r1415. See #1146.
--------------------------------------------------------------------------------
related_issues
relates,Closed,1146,Patch for protecting wiki pages (#851)