dstpabuaran.com/resources/js/hooks
Yoga Pangestu 3e9776696d Refactor permissions and sidebar items; enhance user role checks
- 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.
2026-08-04 23:57:00 +07:00
..
use-appearance.tsx initial commit 2026-07-28 17:40:38 +07:00
use-can.ts Refactor permissions and sidebar items; enhance user role checks 2026-08-04 23:57:00 +07:00
use-clipboard.ts initial commit 2026-07-28 17:40:38 +07:00
use-current-url.ts initial commit 2026-07-28 17:40:38 +07:00
use-cutting-draft.ts feat: enhance employee and leave request management 2026-08-04 23:03:56 +07:00
use-draft-save.ts feat: enhance employee and leave request management 2026-08-04 23:03:56 +07:00
use-file-upload.ts Refactor code for improved readability and consistency across multiple files 2026-08-01 10:14:47 +07:00
use-flash-toast.ts initial commit 2026-07-28 17:40:38 +07:00
use-infinite-scroll.ts feat: add cutting management functionality with CRUD operations 2026-08-04 02:24:11 +07:00
use-initials.tsx Refactor code for improved readability and consistency across multiple files 2026-08-01 10:14:47 +07:00
use-mobile-navigation.ts initial commit 2026-07-28 17:40:38 +07:00
use-mobile.ts Refactor code for improved readability and consistency across multiple files 2026-08-01 10:14:47 +07:00
use-mobile.tsx initial commit 2026-07-28 17:40:38 +07:00
use-product-draft.ts feat: enhance employee and leave request management 2026-08-04 23:03:56 +07:00
use-purchase-draft.ts feat: enhance employee and leave request management 2026-08-04 23:03:56 +07:00
use-push-notification.ts feat: add push notification functionality and service worker 2026-08-01 11:36:20 +07:00
use-raw-material-draft.ts feat: enhance employee and leave request management 2026-08-04 23:03:56 +07:00
use-restock-draft.ts feat: enhance employee and leave request management 2026-08-04 23:03:56 +07:00
use-server-table.ts refactor: replace tooltip buttons with row actions component in supplier and role columns 2026-08-02 23:40:12 +07:00
use-transaction-draft.ts feat: enhance employee and leave request management 2026-08-04 23:03:56 +07:00
use-two-factor-auth.ts initial commit 2026-07-28 17:40:38 +07:00