Role
constructor(name: String, custom: Boolean = false, scopes: List<String> = emptyList(), createdAt: Date? = null, updatedAt: Date? = null)
Parameters
name
Role identifier.
custom
true for app-defined roles, false for built-ins (admin, user, etc.).
scopes
Scopes this role has grants in.
createdAt
When the role was created.
updatedAt
Last time the role was updated.