feat/menu-structure: adjust page rehab

This commit is contained in:
Andrian Roshandy
2025-11-12 06:52:31 +07:00
parent 93c9e74d08
commit 80383a5f0a
3 changed files with 2 additions and 5 deletions
@@ -5,7 +5,7 @@ import { PAGE_PERMISSIONS } from '~/lib/page-permission'
definePageMeta({
middleware: ['rbac'],
roles: ['system', 'doctor', 'nurse', 'admisi', 'pharmacy', 'billing', 'management'],
roles: ['system', 'emp-doc', 'emp-nur', 'emp-reg', 'emp-pha', 'emp-pay', 'emp-mng'],
title: 'Daftar Kunjungan',
contentFrame: 'cf-full-width',
})
@@ -23,7 +23,7 @@ const { checkRole, hasReadAccess } = useRBAC()
// Check if user has access to this page
const hasAccess = checkRole(roleAccess)
if (!hasAccess) {
navigateTo('/403')
// navigateTo('/403')
}
// Define permission-based computed properties
@@ -1,3 +0,0 @@
<template>
<div>Examination</div>
</template>