upd: pembatasan user

Deskripsi:
- menyimpan role pada variable global
- pembatasan pada position
- pembatasan pada fitur home
- memasang log user pada position

No Issues
This commit is contained in:
amel
2024-09-04 14:11:49 +08:00
parent 878294e063
commit 19f94879d0
12 changed files with 189 additions and 138 deletions

View File

@@ -159,7 +159,7 @@ export default function DrawerDetailPosition({ onUpdated, id, isActive }: {
</Box>
:
<Box>
<Select
{/* <Select
label="Grup"
placeholder="Pilih grup"
size="md"
@@ -192,7 +192,7 @@ export default function DrawerDetailPosition({ onUpdated, id, isActive }: {
)
}
onBlur={() => setTouched({ ...touched, idGroup: true })}
/>
/> */}
<TextInput
label="Jabatan"
styles={{