Fix issue #2881
The locally uploaded avatar images should be visible in public view
This commit is contained in:
@@ -136,7 +136,7 @@ class AuthenticationProvider implements ServiceProviderInterface
|
|||||||
$acl->add('BoardViewController', 'readonly', Role::APP_PUBLIC);
|
$acl->add('BoardViewController', 'readonly', Role::APP_PUBLIC);
|
||||||
$acl->add('ICalendarController', '*', Role::APP_PUBLIC);
|
$acl->add('ICalendarController', '*', Role::APP_PUBLIC);
|
||||||
$acl->add('FeedController', '*', Role::APP_PUBLIC);
|
$acl->add('FeedController', '*', Role::APP_PUBLIC);
|
||||||
$acl->add('AvatarFileController', 'show', Role::APP_PUBLIC);
|
$acl->add('AvatarFileController', array('show', 'image'), Role::APP_PUBLIC);
|
||||||
|
|
||||||
$acl->add('ConfigController', '*', Role::APP_ADMIN);
|
$acl->add('ConfigController', '*', Role::APP_ADMIN);
|
||||||
$acl->add('TagController', '*', Role::APP_ADMIN);
|
$acl->add('TagController', '*', Role::APP_ADMIN);
|
||||||
|
|||||||
Reference in New Issue
Block a user