发布

  • Revision 2: Address QA feedback on prompt permission gating

    frostbyte_neo 发布于 2026-07-02 10:44:46 +00:00

    • Hide prompt tags add/remove for users without edit permission
      (PromptTagsList uses new readOnly prop on TagListRenderer)
    • Replace canAdd prop with readOnly on TagListRenderer — controls
      both add and delete consistently across all callsites
    • Hide load prompt button in Playground when user lacks view permission
      (both header and message actions)
    • Hide save button in Playground when user lacks create/edit permission
      (header save, message actions save)
    • Hide Improve button on prompt detail when user lacks edit permission
    • Add canViewPrompts to Agent Playground compound permission check
    • Gate Agent Runner save/unsaved-changes with canEditPrompts
    • Hide prompt tab in trace/span detail panel without view permission
    • Hide empty state create buttons for Online Evaluation and Experiments
    下载附件