feat: implement privilege permissions table and enhance user detail views
- Added a new PrivilegePermissionsTable component to display permissions associated with user privileges in a structured format. - Refactored DetailPermissions and UserPageDetail components to utilize the new PrivilegePermissionsTable for better organization of privilege information. - Introduced employeeId support in user management, allowing for enhanced user detail views and improved data handling. - Updated validation schemas and unit tests to accommodate new employee and privilege relationships. These changes improve the user management experience by providing clearer visibility into user privileges and associated employee details.
This commit is contained in:
@@ -680,7 +680,8 @@ export function EnterpriseDataTable<E extends BaseEntity>(props: EnterpriseDataT
|
||||
// Define the default Status column
|
||||
const statusColumn: ColDef<E> = {
|
||||
colId: 'status',
|
||||
maxWidth: 130,
|
||||
minWidth: 100,
|
||||
maxWidth: 100,
|
||||
|
||||
suppressHeaderMenuButton: true, // Suppress menu to keep the header clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user