Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
getDisplayName :: UserId -> Clck url (Maybe DisplayName) Source #
getProfileData :: UserId -> Clck url ProfileData Source #
requiresRole_ :: Happstack m => (ClckURL -> [(Text, Maybe Text)] -> Text) -> Set Role -> url -> ClckT u m url Source #
Instances
Bounded Role Source # | |
Enum Role Source # | |
Eq Role Source # | |
Data Role Source # | |
Defined in Clckwrks.ProfileData.Types 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 # 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 # | |
Read Role Source # | |
Show Role Source # | |
Generic Role Source # | |
SafeCopy Role Source # | |
Migrate Role Source # | |
type Rep Role Source # | |
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 # | |
Defined in Clckwrks.ProfileData.Types |