The locally uploaded avatar images should be visible in public view
This commit is contained in:
Guan Shiliang 2016-12-12 10:30:28 +08:00 committed by GitHub
parent f83178bef8
commit 5964d5cb13
1 changed files with 1 additions and 1 deletions

View File

@ -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);