Creates and configures an Allow instance.
Creates and configures an Allow instance with Kotlin DSL syntax.