graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.RQL.Types.Roles

Synopsis

Documentation

data RoleName Source #

Instances

Instances details
FromJSON RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

FromJSONKey RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

ToJSON RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

ToJSONKey RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

HasCodec RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Generic RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Associated Types

type Rep RoleName :: Type -> Type #

Methods

from :: RoleName -> Rep RoleName x #

to :: Rep RoleName x -> RoleName #

Show RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

NFData RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Methods

rnf :: RoleName -> () #

Eq RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Ord RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

FromEnv RoleName Source # 
Instance details

Defined in Hasura.Server.Init.Env

Hashable RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

ToTxt RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Methods

toTxt :: RoleName -> Text Source #

FromCol RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

ToPrepArg RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

type Rep RoleName Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

type Rep RoleName = D1 ('MetaData "RoleName" "Hasura.RQL.Types.Roles" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "RoleName" 'PrefixI 'True) (S1 ('MetaSel ('Just "getRoleTxt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NonEmptyText)))

newtype ParentRoles Source #

Constructors

ParentRoles 

Instances

Instances details
FromJSON ParentRoles Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

ToJSON ParentRoles Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

HasCodec ParentRoles Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Generic ParentRoles Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Associated Types

type Rep ParentRoles :: Type -> Type #

Show ParentRoles Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Eq ParentRoles Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Hashable ParentRoles Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

type Rep ParentRoles Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

type Rep ParentRoles = D1 ('MetaData "ParentRoles" "Hasura.RQL.Types.Roles" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ParentRoles" 'PrefixI 'True) (S1 ('MetaSel ('Just "_unParentRoles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashSet RoleName))))

data Role Source #

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

Constructors

Role 

Fields

Instances

Instances details
FromJSON Role Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

ToJSON Role Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

HasCodec Role Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Generic Role Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Associated Types

type Rep Role :: Type -> Type #

Methods

from :: Role -> Rep Role x #

to :: Rep Role x -> Role #

Show Role Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Methods

showsPrec :: Int -> Role -> ShowS #

show :: Role -> String #

showList :: [Role] -> ShowS #

Eq Role Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Methods

(==) :: Role -> Role -> Bool #

(/=) :: Role -> Role -> Bool #

Hashable Role Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

type Rep Role Source # 
Instance details

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)))

newtype DropInheritedRole Source #

Constructors

DropInheritedRole 

Instances

Instances details
FromJSON DropInheritedRole Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

ToJSON DropInheritedRole Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Generic DropInheritedRole Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Associated Types

type Rep DropInheritedRole :: Type -> Type #

Show DropInheritedRole Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

Eq DropInheritedRole Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

type Rep DropInheritedRole Source # 
Instance details

Defined in Hasura.RQL.Types.Roles

type Rep DropInheritedRole = D1 ('MetaData "DropInheritedRole" "Hasura.RQL.Types.Roles" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "DropInheritedRole" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ddrRoleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RoleName)))