Feature #851

Locked wiki pages

Added by John Goerzen almost 10 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-03-14
Priority:NormalDue 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.

851.diff Magnifier (8.17 KB) Mateo Murphy, 2008-03-17 22:45


Related issues

Related to Redmine - Patch #1146: Patch for protecting wiki pages (#851) Closed 2008-04-29

Associated revisions

Revision 1415
Added by Jean-Philippe Lang over 9 years ago

Wiki page protection (#851, patch #1146 by Mateo Murphy with slight changes).
New permission added: protect wiki pages. Once a page is protected, it can be edited/renamed/deleted only by users who have this permission.

History

#1 Updated by Jean-Philippe Lang almost 10 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 10 years ago

  • Target version set to 0.8

#3 Updated by Mateo Murphy almost 10 years ago

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 over 9 years ago

  • Category set to Wiki
  • Status changed from New to Closed
  • Resolution set to Fixed

Done in r1415. See #1146.

Also available in: Atom PDF