Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- runAddInheritedRole :: (MonadError QErr m, CacheRWM m, MetadataM m) => InheritedRole -> m EncJSON
- dropInheritedRoleInMetadata :: RoleName -> MetadataModifier
- runDropInheritedRole :: (MonadError QErr m, CacheRWM m, MetadataM m) => DropInheritedRole -> m EncJSON
- resolveInheritedRole :: MonadError QErr m => HashSet RoleName -> InheritedRole -> m (Role, Seq SchemaDependency)
Documentation
runAddInheritedRole :: (MonadError QErr m, CacheRWM m, MetadataM m) => InheritedRole -> m EncJSON Source #
runDropInheritedRole :: (MonadError QErr m, CacheRWM m, MetadataM m) => DropInheritedRole -> m EncJSON Source #
resolveInheritedRole :: MonadError QErr m => HashSet RoleName -> InheritedRole -> m (Role, Seq 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