Entities/Permissions/Model/PermissionsEntityMapper.php
private function doDeletePermissionRoles(int $permissionId)
    {
        $q = new QueryBuilder("DELETE FROM ".self::ROLES_JOIN_TABLE_NAME." WHERE permission_id = $1", $permissionId);
        $q->execute();
    }
private function doDeletePermissionRoles(int $permissionId)
    {
        $q = new QueryBuilder("DELETE FROM ".self::ROLES_JOIN_TABLE_NAME." WHERE permission_id = $1", $permissionId);
        $q->execute();
    }
deletes the record(s) in the join table