HomeGuidesRecipesAPI ExplorerForumSupport
Partner Portal
Partner Portal

The UserRoles component is a comprehensive React component that renders the entire User roles page. The component integrates the functionalities of the UserRoleDetails and the UserRoleTable components, providing a complete experience throughout the User roles workflow. This component provides the ability to create new user roles and supports searching, filtering, and pagination between these user roles.


📘

Permissions

To access this component, the entity user must have read permissions for the role object. To create, edit, and delete the user roles, they must also have create, update, or delete permissions for the role object. For more information, see List of permissions.

Preview

`TagsTable` component preview.

UserRoles component preview.

Usage

Use the UserRoles component in your application as shown:

import { UserRoles } from "@monite/sdk-react"

// This component must be rendered within the MoniteProvider wrapper
const UserRolesPage = () => {
  return <UserRoles />;
};