- Updated HandleInertiaRequests middleware to include user permissions in the shared data. - Modified RolePermissionSeeder to redefine permissions and roles, adding new permissions and restructuring existing ones. - Refactored app-sidebar component to filter menu items based on user permissions, improving sidebar visibility based on roles. - Enhanced useCan hook to support checking multiple permissions with canAny function. - Updated web routes to enforce permission checks on various resource routes, ensuring proper access control. |
||
|---|---|---|
| .. | ||
| use-appearance.tsx | ||
| use-can.ts | ||
| use-clipboard.ts | ||
| use-current-url.ts | ||
| use-cutting-draft.ts | ||
| use-draft-save.ts | ||
| use-file-upload.ts | ||
| use-flash-toast.ts | ||
| use-infinite-scroll.ts | ||
| use-initials.tsx | ||
| use-mobile-navigation.ts | ||
| use-mobile.ts | ||
| use-mobile.tsx | ||
| use-product-draft.ts | ||
| use-purchase-draft.ts | ||
| use-push-notification.ts | ||
| use-raw-material-draft.ts | ||
| use-restock-draft.ts | ||
| use-server-table.ts | ||
| use-transaction-draft.ts | ||
| use-two-factor-auth.ts | ||