Overview

The UserRoles component is a comprehensive React component that displays all user roles created by an entity and their given permissions.

Permissions

To access this component, the entity user must have read permissions for the role object. For more information, see List of permissions.

Preview

UserRoles component preview
UserRoles component preview

Usage

Use the UserRoles component in your application as shown:

React.js
1import { UserRoles } from "@monite/sdk-react";
2
3// This component must be rendered within the MoniteProvider wrapper
4const UserRolesPage = () => {
5 return <UserRoles />;
6};