RoleAccessContext

Deprecated

Will be removed after all usages of IRole.name are migrated.

Functions

Link copied to clipboard
fun getKey(role: IRole): String

Depending on the context returns IRole.getSimpleName() or IRole.getUID()

Link copied to clipboard
Link copied to clipboard
fun <T> runWith(useRoleIds: Boolean, body: () -> T): T