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

Hasura.RQL.DDL.InheritedRoles

Synopsis

Documentation

resolveInheritedRole :: MonadError QErr m => HashSet RoleName -> InheritedRole -> m (Role, [SchemaDependency]) Source #

resolveInheritedRole resolves an inherited role by checking if all the parent roles of an inherited role exists and report the dependencies of the inherited role which will be the list of the parent roles