Overview

The UserRoleDetails component is a comprehensive React component that displays the permission set of a specific user role.

Permissions

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

Preview

UserRoleDetails component preview
UserRoleDetails component preview

Usage

Use in the UserRoleDetails component in your application to view the details of the existing user roles as shown:

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

Props

The following table shows all UserRoleDetails component properties, their types, and descriptions:

PropTypeDescription
idstringThis prop accepts the UUID of the user role details to be displayed.