clckwrks-0.26.3: A secure, reliable content management system (CMS) and blogging platform
Safe HaskellNone
LanguageHaskell2010

Clckwrks.ProfileData.API

Documentation

requiresRole_ :: Happstack m => (ClckURL -> [(Text, Maybe Text)] -> Text) -> Set Role -> url -> ClckT u m url Source #

data Role Source #

Instances

Instances details
Bounded Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Enum Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Methods

succ :: Role -> Role #

pred :: Role -> Role #

toEnum :: Int -> Role #

fromEnum :: Role -> Int #

enumFrom :: Role -> [Role] #

enumFromThen :: Role -> Role -> [Role] #

enumFromTo :: Role -> Role -> [Role] #

enumFromThenTo :: Role -> Role -> Role -> [Role] #

Eq Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Methods

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

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

Data Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Role -> c Role #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Role #

toConstr :: Role -> Constr #

dataTypeOf :: Role -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Role) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Role) #

gmapT :: (forall b. Data b => b -> b) -> Role -> Role #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Role -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Role -> r #

gmapQ :: (forall d. Data d => d -> u) -> Role -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Role -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Role -> m Role #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Role -> m Role #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Role -> m Role #

Ord Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Methods

compare :: Role -> Role -> Ordering #

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

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

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

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

max :: Role -> Role -> Role #

min :: Role -> Role -> Role #

Read Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Show Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Methods

showsPrec :: Int -> Role -> ShowS #

show :: Role -> String #

showList :: [Role] -> ShowS #

Generic Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Associated Types

type Rep Role :: Type -> Type #

Methods

from :: Role -> Rep Role x #

to :: Rep Role x -> Role #

SafeCopy Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Migrate Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

Associated Types

type MigrateFrom Role #

type Rep Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types

type Rep Role = D1 ('MetaData "Role" "Clckwrks.ProfileData.Types" "clckwrks-0.26.3-1lCsV0PxqFu4UE59KSMe5L" 'False) ((C1 ('MetaCons "Administrator" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Visitor" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Moderator" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Editor" 'PrefixI 'False) (U1 :: Type -> Type)))
type MigrateFrom Role Source # 
Instance details

Defined in Clckwrks.ProfileData.Types