elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.22k forks source link

[Fleet]: User is unable to Delete/Edit Agent output or Agent binary with user role: Agent & Agent policies: `None`. #192056

Open amolnater-qasource opened 2 months ago

amolnater-qasource commented 2 months ago

Kibana Build details:

VERSION: 8.16.0 SNAPSHOT
BUILD: 77913
COMMIT: f2aba4624160124344e98dac19d5eefd83fa79ce

Role:

Integrations: All
Fleet: Read
Agents: None
Agent policies: None
Settings: All

Image

Preconditions:

  1. 8.16.0-SNAPSHOT Kibana cloud environment should be available.
  2. New User should be created with above defined role.

Steps to reproduce:

  1. Login with the above user.
  2. Navigate to Settings tab and edit Agent output.
  3. Save the changes and observe error is displayed.
  4. Now attempt to delete the output and observe same error is displayed.
  5. Similarly, observe same errors for Agent binary.

Expected Result: User should be able to Delete/Edit Agent output or Agent binary with user role: Agent & Agent policies: None.

Screen Recording:

https://github.com/user-attachments/assets/12ee8d7d-d340-45d0-9c13-b7039000fee1

Feature: https://github.com/elastic/ingest-dev/issues/2903

elasticmachine commented 2 months ago

Pinging @elastic/fleet (Team:Fleet)

amolnater-qasource commented 2 months ago

@muskangulati-qasource Please review.

muskangulati-qasource commented 2 months ago

Secondary review on this ticket is Done!