Skip to content

Commit

Permalink
feat:蓝盾侧添加成员时限制勾选公司&事业群节点
Browse files Browse the repository at this point in the history
  • Loading branch information
yunlong098 committed Dec 20, 2024
1 parent f95b9c9 commit b77211d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions saas/backend/common/vue.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def get(self, request):
"BK_SHARED_RES_URL": settings.BK_SHARED_RES_URL.rstrip("/"),
# App Code
"BK_APP_CODE": settings.APP_CODE,
# 不允许作为用户组成员的部门 ID,用英文逗号分割
"DEPARTMENT_IDS_NOT_ALLOWED_AS_GROUP_MEMBER": settings.DEPARTMENT_IDS_NOT_ALLOWED_AS_GROUP_MEMBER
}

# 添加前端功能启用开关
Expand Down
3 changes: 3 additions & 0 deletions saas/config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,3 +496,6 @@

# 全局配置地址
BK_SHARED_RES_URL = env.str("BK_SHARED_RES_URL", default="")

# 不允许作为用户组成员的部门 ID,用英文逗号分割
DEPARTMENT_IDS_NOT_ALLOWED_AS_GROUP_MEMBER = env.str("DEPARTMENT_IDS_NOT_ALLOWED_AS_GROUP_MEMBER", default="")

0 comments on commit b77211d

Please sign in to comment.