final String justificationText = getOptionalParameter(request, "justificationText");
final String sourceInfo = getOptionalParameter(request, "sourceInfo");
final String metadataString = getOptionalParameter(request, "metadata");
User user = getUser(request);
String workspaceId = getActiveWorkspaceId(request);
Authorizations authorizations = getAuthorizations(request, user);
if (!graph.isVisibilityValid(new Visibility(visibilitySource), authorizations)) {
LOGGER.warn("%s is not a valid visibility for %s user", visibilitySource, user.getDisplayName());
respondWithBadRequest(response, "visibilitySource", getString(request, "visibility.invalid"));
chain.next(request, response);