#90826 introduced a change to `GetUserPrivilegesResponse` which breaks our `CustomAuthorizationEngine` example plugin. We'll need to update the plugin example here.

cc @n1v0lg
plugins/examples/security-authorization-engine/src/main/java/org/elasticsearch/example/CustomAuthorizationEngine.java
private final String[] roles;
        private final CustomAuthorizationInfo authenticatedAuthzInfo;
        CustomAuthorizationInfo(String[] roles, CustomAuthorizationInfo authenticatedAuthzInfo) {
            this.roles = roles;
            this.authenticatedAuthzInfo = authenticatedAuthzInfo;
        }
        @Override
        public Map<String, Object> asMap() {
            return Collections.singletonMap("roles", roles);
        }
        @Override
        public CustomAuthorizationInfo getAuthenticatedUserAuthorizationInfo() {
            return authenticatedAuthzInfo;
        }
    }
    private boolean isSuperuser(User user) {
        return Arrays.asList(user.roles()).contains("custom_superuser");
    }
    private boolean isSuperuser(AuthorizationInfo authorizationInfo) {
        assert authorizationInfo instanceof CustomAuthorizationInfo;
        return Arrays.asList(((CustomAuthorizationInfo)authorizationInfo).asMap().get("roles")).contains("custom_superuser");
    }
}