Skip to content

[Fleet]: Forbidden error is displayed on clicking Get Uninstall command for user role Agents: None. #192055

@amolnater-qasource

Description

@amolnater-qasource

Kibana Build details:

VERSION: 8.16.0 SNAPSHOT
BUILD: 77913
COMMIT: f2aba4624160124344e98dac19d5eefd83fa79ce

Role:

Integrations: All
Fleet: Read
Agents: None
Agent policies: All
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 Agent policies tab>policy with Elastic Defend.
  3. Navigate to policy settings enable Tamper protection and click Get Uninstall command.
  4. Observe forbidden error is displayed under Agents tab for custom user with Agent policies: None.

Expected Result:
Forbidden error shouldn't displayed on clicking Get Uninstall command/ or Get Uninstall command should be disabled for user role Agents: None.

Screen Recording:

Agent.policies.-.Fleet.-.Elastic.-.Google.Chrome.2024-09-03.19-12-02.mp4

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

Metadata

Metadata

Assignees

Labels

QA:ValidatedIssue has been validated by QATeam:FleetTeam label for Observability Data Collection Fleet teambugFixes for quality problems that affect the customer experienceimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions