Authorization Config
data class AuthorizationConfig<C : KlerkContext, V>(val readModelPositiveRules: Set<(ArgModelContextReader<C, V>) -> PositiveAuthorization>, val readModelNegativeRules: Set<(ArgModelContextReader<C, V>) -> NegativeAuthorization>, val readPropertyPositiveRules: Set<(ArgsForPropertyAuth<C, V>) -> PositiveAuthorization>, val readPropertyNegativeRules: Set<(ArgsForPropertyAuth<C, V>) -> NegativeAuthorization>, val eventPositiveRules: Set<(ArgCommandContextReader<*, C, V>) -> PositiveAuthorization>, val eventNegativeRules: Set<(ArgCommandContextReader<*, C, V>) -> NegativeAuthorization>, val eventLogPositiveRules: Set<(args: ArgContextReader<C, V>) -> PositiveAuthorization>, val eventLogNegativeRules: Set<(args: ArgContextReader<C, V>) -> NegativeAuthorization>)
Constructors
Link copied to clipboard
constructor(readModelPositiveRules: Set<(ArgModelContextReader<C, V>) -> PositiveAuthorization>, readModelNegativeRules: Set<(ArgModelContextReader<C, V>) -> NegativeAuthorization>, readPropertyPositiveRules: Set<(ArgsForPropertyAuth<C, V>) -> PositiveAuthorization>, readPropertyNegativeRules: Set<(ArgsForPropertyAuth<C, V>) -> NegativeAuthorization>, eventPositiveRules: Set<(ArgCommandContextReader<*, C, V>) -> PositiveAuthorization>, eventNegativeRules: Set<(ArgCommandContextReader<*, C, V>) -> NegativeAuthorization>, eventLogPositiveRules: Set<(args: ArgContextReader<C, V>) -> PositiveAuthorization>, eventLogNegativeRules: Set<(args: ArgContextReader<C, V>) -> NegativeAuthorization>)