Skip to content

[Feature] 授权规则增加必选的"查看“动作 #17464

Description

@wan92hen

产品版本

v4.10.19

版本类型

  • 社区版
  • 企业版
  • 企业试用版

安装方式

  • 在线安装 (一键命令安装)
  • 离线包安装
  • All-in-One
  • 1Panel
  • Kubernetes
  • 源码安装

⭐️ 需求描述

目前存在 ”TICKET_APPLY_ASSET_SCOPE“ 参数,用来控制用户通过工单申请授权时能看到哪些资产。但是这种方式通过后台参数控制,不够直观,同时也无法控制用户能看到的资产账号范围。

因此希望在授权规则中增加必选的”查看“动作,当授权规则仅有”查看“动作时,用户只能在工作台/终端列表中浏览到对应的资产以及账号,无法进行连接。

解决方案

  • 创建授权规则中,存在必选的”查看“动作
  • 只有”查看“动作的授权规则,用户只能浏览到对应资产及账号列表
  • 用户通过工单申请授权时,只能查看到授权规则涵盖的资产(包含仅”查看“授权),作废 TICKET_APPLY_ASSET_SCOPE 参数

补充信息

No response

Activity

  1. ibuler commented on Sep 14, 2026

    @ibuler
    Member

    有点道理,协议考虑

  2. added
    ⏳ Pending feedbackAwaiting feedback from the issue reporter
    and removed on Sep 14, 2026
  3. removed their assignment
    on Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions