Rbac Role Picker
Overview
A roles picker that allows you to select an RBAC role to be assigned to a subject, when creating permissions.
Configuration
Options are fetched from the roles
table in the rbac
schema, removing the platform ones
roleId:
type: string
title: Role
ui:field: RbacRolePicker
default: <optional default role ID>
ui:options:
allowArbitraryValues: false
When using RbacRolePicker, it is possible to define under ui:options
parameter an attribute called allowArbitraryValues
that if it is set to false, it prevents the users to type arbitrary values outside the list of roles.