fix: conflict after rebase
This commit is contained in:
No files matched your search
@@ -18,9 +18,11 @@ useHead({
|
||||
|
||||
const roleAccess: PagePermission = PAGE_PERMISSIONS['/doctor']
|
||||
|
||||
// const { checkRole, hasCreateAccess } = useRBAC()
|
||||
const { checkRole, hasCreateAccess } = useRBAC()
|
||||
|
||||
// // Check if user has access to this page
|
||||
console.log(checkRole(roleAccess))
|
||||
|
||||
// Check if user has access to this page
|
||||
// const hasAccess = checkRole(roleAccess)
|
||||
// if (!hasAccess) {
|
||||
// throw createError({
|
||||
|
||||
Reference in New Issue
Block a user