Skip to content

Commit 7ead3e3

Browse files
committed
fix: Resource model permission
1 parent 7942b12 commit 7ead3e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/common/constants/permission_constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,11 +1362,11 @@ class PermissionConstants(Enum):
13621362
)
13631363
RESOURCE_MODEL_EDIT = Permission(
13641364
group=Group.SYSTEM_RES_MODEL, operate=Operate.EDIT, role_list=[RoleConstants.ADMIN],
1365-
parent_group=[SystemGroup.RESOURCE]
1365+
parent_group=[SystemGroup.RESOURCE_MODEL]
13661366
)
13671367
RESOURCE_MODEL_DELETE = Permission(
13681368
group=Group.SYSTEM_RES_MODEL, operate=Operate.DELETE, role_list=[RoleConstants.ADMIN],
1369-
parent_group=[SystemGroup.RESOURCE]
1369+
parent_group=[SystemGroup.RESOURCE_MODEL]
13701370
)
13711371
OPERATION_LOG_READ = Permission(
13721372
group=Group.OPERATION_LOG, operate=Operate.READ, role_list=[RoleConstants.ADMIN],

0 commit comments

Comments
 (0)