Issue #2295469 followup by damiankloip: Add support for static permission definitions with *.permissions.yml.
parent
73b0592ffe
commit
c1dd108198
|
@ -127,7 +127,7 @@ class PermissionHandler implements PermissionHandlerInterface {
|
|||
if (!is_array($permission)) {
|
||||
$permission = array(
|
||||
'title' => $permission,
|
||||
'description' => NULL,``
|
||||
'description' => NULL,
|
||||
);
|
||||
}
|
||||
$permission['provider'] = $provider;
|
||||
|
|
Loading…
Reference in New Issue