Skip to content

Spurious "Commit Changes" modal after bulk tagging secrets on Overview page #6854

Description

@flare19

Product

Secret Manager

Describe the bug

After bulk-assigning tags to multiple secrets on the Overview page, hovering over an affected secret and clicking "View Tags" shows an empty tag list despite the bulk tag operation succeeding. This immediately triggers a spurious "Commit Changes" modal showing the tag as removed (before: tag1, after: -). If the user commits, the tag is permanently deleted server-side. If the user declines, the tag reappears correctly in the View Tags popover.

To Reproduce

  1. Create two or more secrets on the Overview page
  2. Create a tag (e.g. tag1)
  3. Enable batch mode
  4. Select all secrets and click the add tags button in the selection panel
  5. Add tag1 and apply — confirm the success notification appears
  6. Immediately hover over one of the affected secrets and click View Tags
  7. Observe that the tag list is empty despite the bulk tag succeeding
  8. Observe the spurious "Commit Changes" modal appears showing tag1 as removed
  9. Click Commit Changes — the tag is permanently deleted server-side

Expected behavior

When bulk-assigning tags to secrets, the tags should appear immediately in the View Tags popover after the operation succeeds. No pending changes modal should be triggered, as the user has not made any manual edits to the affected secrets.

Screenshots

No response

Deployment Type

Self-hosted

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions