Fix issue #2881
The locally uploaded avatar images should be visible in public view
This commit is contained in:
parent
f83178bef8
commit
5964d5cb13
|
|
@ -136,7 +136,7 @@ class AuthenticationProvider implements ServiceProviderInterface
|
|||
$acl->add('BoardViewController', 'readonly', Role::APP_PUBLIC);
|
||||
$acl->add('ICalendarController', '*', 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('TagController', '*', Role::APP_ADMIN);
|
||||
|
|
|
|||
Loading…
Reference in New Issue