/**
* Checks whether the authenticated user either is authorized to the specified object or has permission to ACL Role
*
* checkPermissions(object $obj, bool $modify = false, $errorMessage='')
* checkPermissions(int $roleId, string $permissionId = null, $errorMessage='')
*
* @throws ApiInsufficientPermissionsException
*/
public function checkPermissions(...$args)
{
$this->app->checkPermissions(...$args);
}