int deletePermissionsForUser(final DSLContext context, final String userUuid) {
        Objects.requireNonNull(userUuid);
        final int delCount = context.deleteFrom(PERMISSION_APP)
                .where(PERMISSION_APP.USER_UUID.eq(userUuid))
                .execute();
        LOGGER.debug(() -> LogUtil.message("Deleted {} {} records for userUuid {}",
                delCount, PERMISSION_APP.getName(), userUuid));
        return delCount;
    }
Get application permissions for users plus any that they inherit from their group membership.

@param request The Fetch request.
@return A result page of user permissions.
stroom-security/stroom-security-impl-db/src/main/java/stroom/security/impl/db/AppPermissionDaoImpl.java