mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
BUG: added VIEW_LANGS permission in Translatable::providePermissions()
This commit is contained in:
parent
ba31412fa8
commit
0dc7b41539
@ -1483,6 +1483,11 @@ class Translatable extends DataExtension implements PermissionProvider {
|
||||
'Translate into all available languages'
|
||||
);
|
||||
|
||||
$permissions['VIEW_LANGS'] = _t(
|
||||
'Translatable.TRANSLATEVIEWLANGS',
|
||||
'View language dropdown'
|
||||
);
|
||||
|
||||
return $permissions;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user