
|
[dokuwiki]
||
[Date Prev]
[08-2006 Date Index]
[Date Next]
||
[Thread Prev]
[08-2006 Thread Index]
[Thread Next]
[dokuwiki] Re: Permission to delete pages
- From: "Gabriel Birke" <gabriel.birke@xxxxxxxxx>
- To: <dokuwiki@xxxxxxxxxxxxx>
- Date: Wed, 2 Aug 2006 11:45:09 +0200
Chris Smith wrote
> "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.
There is a subtle difference between deleting a page and vandalizing it
with one character: If a page is deleted (text set to nothing) it is
removed from the content tree that is shown on the start page - and in
some themes in the sidebar. The sidebar with the content tree is a major
navigational element in our wiki. If a page gets deleted, other users
can't find it anymore.
So I ask my question again: Where do I put the check if the posted text
is empty and the user has delete rights? Is it possible to put that in a
plugin? Or do I have to edit act_permcheck in actions.php directly?
Gabriel
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|

|