Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ParentRoles = ParentRoles {
- _unParentRoles :: HashSet RoleName
- data Role = Role {}
- type InheritedRole = Role
- newtype DropInheritedRole = DropInheritedRole {}
Documentation
newtype ParentRoles Source #
ParentRoles | |
|
Instances
The Role
type represents a role by
containing its name and the names of its parent roles.
This type is used externally in the add_inherited_role
metadata API and is also used internally
in the permission building
part of the schema cache building process
Role | |
|
Instances
Eq Role Source # | |
Show Role Source # | |
Generic Role Source # | |
Hashable Role Source # | |
Defined in Hasura.RQL.Types.Roles | |
FromJSON Role Source # | |
Defined in Hasura.RQL.Types.Roles parseJSON :: Value -> Parser Role parseJSONList :: Value -> Parser [Role] | |
ToJSON Role Source # | |
Defined in Hasura.RQL.Types.Roles | |
Cacheable Role Source # | |
type Rep Role Source # | |
Defined in Hasura.RQL.Types.Roles type Rep Role = D1 ('MetaData "Role" "Hasura.RQL.Types.Roles" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Role" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rRoleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RoleName) :*: S1 ('MetaSel ('Just "_rParentRoles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ParentRoles))) |
type InheritedRole = Role Source #
newtype DropInheritedRole Source #
Instances
Eq DropInheritedRole Source # | |
Defined in Hasura.RQL.Types.Roles (==) :: DropInheritedRole -> DropInheritedRole -> Bool # (/=) :: DropInheritedRole -> DropInheritedRole -> Bool # | |
Show DropInheritedRole Source # | |
Defined in Hasura.RQL.Types.Roles showsPrec :: Int -> DropInheritedRole -> ShowS # show :: DropInheritedRole -> String # showList :: [DropInheritedRole] -> ShowS # | |
FromJSON DropInheritedRole Source # | |
Defined in Hasura.RQL.Types.Roles parseJSON :: Value -> Parser DropInheritedRole parseJSONList :: Value -> Parser [DropInheritedRole] | |
ToJSON DropInheritedRole Source # | |
Defined in Hasura.RQL.Types.Roles toJSON :: DropInheritedRole -> Value toEncoding :: DropInheritedRole -> Encoding toJSONList :: [DropInheritedRole] -> Value toEncodingList :: [DropInheritedRole] -> Encoding |