Implement roles and privileges management components
User description
- Added PrivilegeFilterSection for filtering privileges with search and date range options.
- Created Privileges component to display and manage privileges with pagination.
- Developed Roles component for managing roles with search and filtering capabilities.
- Introduced RolesFilterSection for filtering roles based on search and date range.
- Implemented RolesPrivilegeMapping for managing role-privilege associations.
- Configured getPrivilegeColumns and getRoleColumns for table column definitions.
- Added mock data for privileges and roles to facilitate development.
- Created ToggleSwitch component for toggling options in the UI.
- Defined response models for logs and role privileges.
- Updated page structure to include roles, privileges, and role-privilege mapping tabs.
PR Type
Enhancement
Description
-
Implement comprehensive roles and privileges management system
-
Add role-privilege mapping functionality with modal interface
-
Create filtering and search components for roles/privileges
-
Introduce badge customization system with theme support
Diagram Walkthrough
flowchart LR
A["Role Management"] --> B["Privilege Management"]
B --> C["Role-Privilege Mapping"]
A --> D["Filter & Search"]
B --> D
C --> E["Modal Interface"]
D --> F["Badge Customization"]
File Walkthrough
Relevant files | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Enhancement | 28 files
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Bug fix | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuration changes | 1 files
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Additional files | 1 files
|
Edited by Rashmi Gaddam