This note is in Hasura.RemoteSchema.SchemaCache.Permission.
The Remote schema permissions feature is designed in the following way:
add_remote_schema_permissions API, note that this API will only work
when remote schema permissions are enabled while starting the graphql-engine,
which can be done either by the setting the server flag
--enable-remote-schema-permissions or the env variable
HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS to true. Check the module
documentation of Hasura.RQL.DDL.RemoteSchema.Permission (this module) for
more details about how the add_remote_schema_permissions API works.IntrospectionResult object,IntrospectionResult parsed in #2 for the said role.
Check out the documentation in argumentsParser to know more about how the presets
are handled.RemoteField which
contains unresolved session variables, the RemoteField is resolved using the
resolveRemoteField function. The resolveRemoteVariable function contains more
details about how the RemoteVariable is resolved.