You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation isn't really clear on the permission settings... I cannot
figure out how to allow users who are not logged in to actually download
attachments. They can see attachments, but not download them.
I tried this:
$wgPageAttachment_permissions['view' ]['allowed'] = true;
$wgPageAttachment_permissions['download' ]['allowed'] = true;
$wgPageAttachment_permissions['viewHistory' ]['allowed'] = true;
$wgPageAttachment_permissions['view' ]['group']['*' ] = true;
$wgPageAttachment_permissions['download' ]['group']['*' ] = true;
$wgPageAttachment_permissions['viewHistory' ]['group']['*' ] = true;
I also added this (although I've no idea what it means):
$wgPageAttachment_permissions['view' ]['loginRequired'] = false;
$wgPageAttachment_permissions['download' ]['loginRequired'] = false;
$wgPageAttachment_permissions['viewHistory' ]['loginRequired'] = false;
But nothing works.
I don't know if this is a bug or a problem with the documentation.
PageAttachment version : 3.1.0
MediaWiki version : 1.19
PHP version : 5.3.3
Database name : MySQL
Database version : 5.1.66
Operating System name : Debian GNU/Linux
Operating System version: 6.0.7
Original issue reported on code.google.com by [email protected] on 11 Apr 2013 at 11:19
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 11 Apr 2013 at 11:19The text was updated successfully, but these errors were encountered: