of
fun of(tenantId: String = DEFAULT_TENANT, scope: Scope = Scope.NONE, subject: String? = null, crossScope: Boolean = false, attributes: Map<String, List<String>> = emptyMap(), service: Boolean = false, roles: Collection<String> = emptyList()): Caller
A Caller of the given fields; parameters added later come last, with a default. roles are its ROLES attribute (Caller.of(subject = "e1", roles = listOf("editor"))): given with attributes that name ROLES too, it fails, since the two would say different things.