UserRoles
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 therole
object. To create, edit, and delete the user roles, they must also havecreate
,update
, ordelete
permissions for therole
object. For more information, see List of permissions.
Preview
![`TagsTable` component preview.](https://files.readme.io/748f86c-Screenshot_2024-06-25_at_10.23.28.png)
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 />;
};
Updated about 1 month ago