Skip to content

Instantly share code, notes, and snippets.

View jessesomerville's full-sized avatar

Jesse Somerville jessesomerville

  • Google
  • Hermosa Beach, CA
View GitHub Profile
@jessesomerville
jessesomerville / owner_editor_diff.txt
Created February 9, 2021 02:21
Permissions granted to GCP's Owner role that are not granted to the Editor role (as of 2021-02-08)
accessapproval.requests.approve
accessapproval.requests.dismiss
accessapproval.settings.delete
accessapproval.settings.update
accesscontextmanager.accessPolicies.setIamPolicy
accesscontextmanager.policies.setIamPolicy
apigateway.apiconfigs.setIamPolicy
apigateway.apis.setIamPolicy
apigateway.gateways.setIamPolicy
apigee.environments.setIamPolicy
@jessesomerville
jessesomerville / graph_cycles.py
Last active January 5, 2024 16:57
Find cyclical object references in a GraphQL Schema
import argparse
from graphql import (
build_schema,
get_named_type,
GraphQLNamedType,
GraphQLSchema,
is_input_object_type,
is_object_type,
)