Fixed admin user access

Admin Layout & Pages
- app/(application)/admin/_layout.tsx
- app/(application)/admin/user-access/index.tsx

Admin Components
- components/Drawer/NavbarMenu.tsx
- components/_ShareComponent/Admin/BoxTitlePage.tsx
- components/_ShareComponent/Admin/AdminBasicBox.tsx

Admin Screens
- screens/Admin/User-Access/

API – Admin User Access
- service/api-admin/api-admin-user-access.ts

Docs
- docs/prompt-for-qwen-code.md

### No issue
This commit is contained in:
2026-02-12 17:35:28 +08:00
parent 6d71c3a86f
commit fb697366fe
8 changed files with 302 additions and 356 deletions

View File

@@ -146,14 +146,14 @@ export default function AdminLayout() {
style={{ alignSelf: "flex-end" }}
/>
{/* <NavbarMenu
<NavbarMenu
items={
user?.masterUserRoleId === "2"
? adminListMenu
: superAdminListMenu
}
onClose={() => setOpenDrawerNavbar(false)}
/> */}
/>
{/* <NavbarMenu_V2
items={
@@ -164,14 +164,14 @@ export default function AdminLayout() {
onClose={() => setOpenDrawerNavbar(false)}
/> */}
<NavbarMenu_V3
{/* <NavbarMenu_V3
items={
user?.masterUserRoleId === "2"
? adminListMenu_V2
: superAdminListMenu_V2
}
onClose={() => setOpenDrawerNavbar(false)}
/>
/> */}
</StackCustom>
</DrawerAdmin>