[dokuwiki] Re: Permission to delete pages

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 02 Aug 2006 09:36:32 +0100

Gabriel Birke wrote:

Hello!

Is it true that the ACL permission 16 (delete) is only for files and
that users with the permission 2 (edit) can delete wiki pages? If that's
the case, I would very much like to change that. What would be the right
place to change the code?

Gabriel

"deleting a page" is editing it to nothing, changing it doesn't make sense, and is probably quite difficult to implement in a meaningful way. Conceivably you could reject an edit of an empty trimmed string, but what about an edit to a "." or similar. Note, the attic holds the old revision of the page making restoration a snip.

Cheers,

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: