UserRoles
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 therole
object. For more information, see List of permissions.
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 />;
};
Updated 7 days ago