User
Role
Badge
fun UserRoleBadge(background: Color = gray_background, role: <Error class: unknown class>, onRoleClick: () -> Unit? = null)
Function to create a badge for a Role
Parameters
background
: the background color to use, default is gray_background
role
: the role to use to create the badge
onRoleClick
: the click action to mark the user as NovaUser.Role.Tester if allowed