graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.RQL.DDL.Permission

Synopsis

Documentation

validateAllowedRootFields :: forall b m. (QErrM m, TableCoreInfoRM b m, BackendMetadata b) => SourceName -> TableName b -> RoleName -> SelPerm b -> m (AllowedRootFields QueryRootFieldType, AllowedRootFields SubscriptionRootFieldType) Source #

validate the values present in the query_root_fields and the subscription_root_fields present in the select permission

data SetPermComment b Source #

Instances

Instances details
Backend b => FromJSON (SetPermComment b) Source # 
Instance details

Defined in Hasura.RQL.DDL.Permission

Methods

parseJSON :: Value -> Parser (SetPermComment b)

parseJSONList :: Value -> Parser [SetPermComment b]