Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data VolumeRow = VolumeRow {
- volumeId :: Id Volume
- volumeName :: Text
- volumeBody :: Maybe Text
- volumeAlias :: Maybe Text
- volumeDOI :: Maybe ByteString
- data Volume = Volume {}
- type VolumeOwner = (Id Party, Text)
- blankVolume :: Volume
- toPolicyDefaulting :: Maybe Bool -> a -> a -> a
- volumeAccessPolicyWithDefault :: Permission -> Maybe Bool -> VolumeRolePolicy
- coreVolumeId :: Id Volume
Documentation
VolumeRow | |
|
blankVolume :: Volume Source #
toPolicyDefaulting :: Maybe Bool -> a -> a -> a Source #
Convert shareFull value read from db into a policy value, applying a default if needed.
coreVolumeId :: Id Volume Source #