[dokuwiki] Re: Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sat, 04 Jun 2005 12:41:07 +0200
But no light without shadow: To allow a user to overwrite media files is
dangerous enough, but also to allow them to _delete_ media files is like
to commit suicide. Particular because the references to the media file
are not checked first.
Well no I think there is no difference between overwriting and deletion.
Both should be only allowed for adminlike people. Deleting a file is no more
devastating then overwriting a file with garbage. So I see no sense in
splicing the permission system more.
1. to split the DELETE permission up into two:
OVERWRITE : media files might be overwritten
DELETE : media files may also be deleted (usually for admins only).
and make the admin responsible for checking references or
as I said makes no snese for me.
2. automatically check existing references to the media file and deny to
delete it if there are still some. This could be done with the built-in
search function. This function could also be used to show the user where
these references are.
This could make more sense, but may be a large performance overhead again.
How about an additional button to manually check for references? So "Admins"
could check before they delete.
So far we went with a very simple permission system for uploads and as far
as I know it did work very well. We now have a little bit more control to
avoid dataloss, but I think we shouldn't exaggerate the whole thing. If one
needs a full blown permission and history system for media files maybe
another wiki engine would be the better choice... I'd like to keep DokuWiki
as simple as possible.
Andi
- Follow-Ups:
- References:
- [dokuwiki] Re: Planned features for DokuWiki
- From: Matthias Grimm
- [dokuwiki] Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
- From: Andreas Gohr
- [dokuwiki] Re: Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
- From: Matthias Grimm
Other related posts:
- » [dokuwiki] Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
- » [dokuwiki] Re: Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
- » [dokuwiki] Re: Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
- » [dokuwiki] Re: Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
- » [dokuwiki] Re: Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
But no light without shadow: To allow a user to overwrite media files is dangerous enough, but also to allow them to _delete_ media files is like to commit suicide. Particular because the references to the media file are not checked first.
DELETE : media files may also be deleted (usually for admins only).
and make the admin responsible for checking references or
as I said makes no snese for me.
2. automatically check existing references to the media file and deny to delete it if there are still some. This could be done with the built-in search function. This function could also be used to show the user where these references are.
- [dokuwiki] Re: Planned features for DokuWiki
- From: Matthias Grimm
- [dokuwiki] Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
- From: Andreas Gohr
- [dokuwiki] Re: Prevent overwrite of mediafiles (was: Planned features for DokuWiki)
- From: Matthias Grimm