Merge pull request #52 from Frappet/fix/add_permission_PARENT

fix(roles):add permission PARENT
This commit is contained in:
Warunee Tamkoo 2025-10-10 09:48:20 +07:00 committed by GitHub
commit fb128093eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,10 @@ const attrPrivilegeOp = ref<DataOption[]>([
id: "ROOT",
name: "มีสิทธิ์เข้าถึงข้อมูลในทุกระดับ",
},
{
id: "PARENT",
name: "มีสิทธิ์เข้าถึงข้อมูลในทุกระดับที่อยู่ภายใต้หน่วยงานของตัวเอง ยกเว้นระดับชั้นบนสุด",
},
{
id: "CHILD",
name: "มีสิทธิ์เข้าถึงข้อมูลเฉพาะระดับชั้นปัจจุบันของตัวเอง",
@ -320,6 +324,11 @@ onMounted(() => {
งแตระดบของตวเองลงไปชนลางส
และขนไปถงชนบนส
</div>
<div class="row no-wrap">
<strong>PARENT</strong
>-ทธเขาถงขอมลในทกระดบทอยภายใตหนวยงานของตวเอง
ยกเวนระดบชนบนส
</div>
<div class="row no-wrap">
<strong>CHILD</strong
>-ทธเขาถงขอมลเฉพาะระดบชนปจจนของตวเอง