Subject: Fetching private files
Hello,
when a user try do access a private page of a dokuwiki, the user gets a polite
Permission Denied
Sorry, you don't have enough rights to continue.
But if the user is given a link to a private file for download, a simple 'Forbidden' is dropped by inc/fetch.functions.php, which is a little bit harsh and not making your wiki very popular. I'm reluctant to modify lib/exe/fetch.php and function checkFileStatus in inc/fetch.functions.php to at least diisplay a link to the login page with a redirect to download the file (my dokuwiki use phpbb authentication method).
Is there a plugin to manage this situation smoothly? Or another solution ?
Thank you, G
when a user try do access a private page of a dokuwiki, the user gets a polite
Permission Denied
Sorry, you don't have enough rights to continue.
But if the user is given a link to a private file for download, a simple 'Forbidden' is dropped by inc/fetch.functions.php, which is a little bit harsh and not making your wiki very popular. I'm reluctant to modify lib/exe/fetch.php and function checkFileStatus in inc/fetch.functions.php to at least diisplay a link to the login page with a redirect to download the file (my dokuwiki use phpbb authentication method).
Is there a plugin to manage this situation smoothly? Or another solution ?
Thank you, G