Skip to content

Commit d297890

Browse files
committed
feat: Shared knowledge problem related permission constant
1 parent 1febd0a commit d297890

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/common/constants/permission_constants.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,10 @@ class PermissionConstants(Enum):
11751175
group=Group.SYSTEM_KNOWLEDGE_PROBLEM, operate=Operate.DELETE, role_list=[RoleConstants.ADMIN],
11761176
parent_group=[SystemGroup.SHARED_KNOWLEDGE]
11771177
)
1178+
SHARED_KNOWLEDGE_PROBLEM_RELATE = Permission(
1179+
group=Group.SYSTEM_KNOWLEDGE_PROBLEM, operate=Operate.RELATE, role_list=[RoleConstants.ADMIN],
1180+
parent_group=[SystemGroup.SHARED_KNOWLEDGE]
1181+
)
11781182
SHARED_KNOWLEDGE_HIT_TEST = Permission(
11791183
group=Group.SYSTEM_KNOWLEDGE_HIT_TEST, operate=Operate.READ, role_list=[RoleConstants.ADMIN],
11801184
parent_group=[SystemGroup.SHARED_KNOWLEDGE]

0 commit comments

Comments
 (0)