Creates a Permissions instance from a map of permission-level pairs.
Creates a Permissions instance with Kotlin DSL syntax.