PermissionsBuilder

DSL builder used to collect permission identifiers for a feature.

This builder supports adding permissions using the unary + operator.

Example:

permissions {
+"ADMIN"
+"BETA_USER"
}

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun add(value: String)

Adds a value to the collector explicitly.

Link copied to clipboard
operator fun String.unaryPlus()

Adds this value to the collector.