Note that the newly created permission is not added to the RBAC system yet.
You must fill in the needed data and call ManagerInterface::add to add it to the system.
public createPermission ( string $name ) : |
||
$name | string | the permission name |
return | the new Permission object |