polysemy-account-0.2.0.0: Account management with Servant and Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Account.Data.Privilege

Description

 
Synopsis

Documentation

data Privilege Source #

The stock privilege type, used only for admin endpoint authorization in polysemy-account-api.

Constructors

Web 
Api 
Admin 

Instances

Instances details
FromJSON Privilege Source # 
Instance details

Defined in Polysemy.Account.Data.Privilege

ToJSON Privilege Source # 
Instance details

Defined in Polysemy.Account.Data.Privilege

Generic Privilege Source # 
Instance details

Defined in Polysemy.Account.Data.Privilege

Associated Types

type Rep Privilege :: Type -> Type #

Show Privilege Source # 
Instance details

Defined in Polysemy.Account.Data.Privilege

Eq Privilege Source # 
Instance details

Defined in Polysemy.Account.Data.Privilege

Default [Privilege] Source # 
Instance details

Defined in Polysemy.Account.Data.Privilege

Methods

def :: [Privilege] #

type Rep Privilege Source # 
Instance details

Defined in Polysemy.Account.Data.Privilege

type Rep Privilege = D1 ('MetaData "Privilege" "Polysemy.Account.Data.Privilege" "polysemy-account-0.2.0.0-JBrIF35CBfcBfeWmsi0YZS" 'False) (C1 ('MetaCons "Web" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Api" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Admin" 'PrefixI 'False) (U1 :: Type -> Type)))