Skip to content

Commit

Permalink
fix: 字段分析is_wildcard参数支持优化 #1010158081136420277
Browse files Browse the repository at this point in the history
  • Loading branch information
yiqiwang-17 committed Jan 9, 2025
1 parent 6c1edb0 commit 26e2b4d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bklog/apps/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,11 @@ class ViewSetActionEnum(ChoicesEnum):
SEARCH_VIEWSET_DELETE_CONFIG = ViewSetAction(
action_id=ExternalPermissionActionEnum.LOG_SEARCH.value, view_set="SearchViewSet", view_action="delete_config"
)
SEARCH_VIEWSET_USER_CUSTOM_CONFIG = ViewSetAction(
action_id=ExternalPermissionActionEnum.LOG_SEARCH.value,
view_set="SearchViewSet",
view_action="update_or_create_config",
)
# ======================================= 聚合-AggsViewSet =======================================
AGGS_VIEWSET_TERMS = ViewSetAction(
action_id=ExternalPermissionActionEnum.LOG_SEARCH.value, view_set="AggsViewSet", view_action="terms"
Expand Down Expand Up @@ -445,11 +450,6 @@ class ViewSetActionEnum(ChoicesEnum):
view_set="IndexSetViewSet",
view_action="cancel_favorite",
)
INDEX_SET_VIEWSET_USER_CUSTOM_CONFIG = ViewSetAction(
action_id=ExternalPermissionActionEnum.LOG_SEARCH.value,
view_set="IndexSetViewSet",
view_action="update_or_create_config",
)
# ======================================= 收藏-FavoriteViewSet =======================================
FAVORITE_VIEWSET_RETRIEVE = ViewSetAction(
action_id=ExternalPermissionActionEnum.LOG_SEARCH.value, view_set="FavoriteViewSet", view_action="retrieve"
Expand Down Expand Up @@ -570,6 +570,7 @@ class ViewSetActionEnum(ChoicesEnum):
SEARCH_VIEWSET_RETRIEVE_CONFIG,
SEARCH_VIEWSET_LIST_CONFIG,
SEARCH_VIEWSET_DELETE_CONFIG,
SEARCH_VIEWSET_USER_CUSTOM_CONFIG,
# ======================================= 聚合-AggsViewSet =======================================
AGGS_VIEWSET_TERMS,
AGGS_VIEWSET_DATE_HISTOGRAM,
Expand All @@ -585,7 +586,6 @@ class ViewSetActionEnum(ChoicesEnum):
# ======================================= 索引-IndexSetViewSet =======================================
INDEX_SET_VIEWSET_MARK_FAVORITE,
INDEX_SET_VIEWSET_CANCEL_FAVORITE,
INDEX_SET_VIEWSET_USER_CUSTOM_CONFIG,
# ======================================= 收藏-FavoriteViewSet =======================================
FAVORITE_VIEWSET_RETRIEVE,
FAVORITE_VIEWSET_LIST,
Expand Down

0 comments on commit 26e2b4d

Please sign in to comment.