Skip to content

Space privilege "Index pattern management" read still shows delete button #53682

@robin13

Description

@robin13

Kibana version: 7.5.0

Elasticsearch version: 7.5.0

Server OS version: Ubuntu 18.04

Browser version: Google Chrome Version 79.0.3945.79 (Official Build) (64-bit)

Browser OS version: Ubuntu 18.04

Original install method (e.g. download page, yum, from source, etc.): Docker

Describe the bug:

Steps to reproduce:
1.

Set up a user with the kibana spaces privilege "Index Pattern Management" set to "Read":

screenshot-2019-12-20_10-56-12

  1. Now log in with this user - when you open Index Patterns, you will (correctly) not see the edit button:

screenshot-2019-12-20_10-54-14

  1. But if you click on a given index pattern, you will see the "Delete" and "Refresh" buttons:

screenshot-2019-12-20_10-54-31

  1. When you click on these, you get a "Forbidden" error:

screenshot-2019-12-20_10-54-41

So this seems to not be a security error (the user is correctly not able to make any changes).

Expected behavior:

The UI should also hide the "delete" and "refresh" buttons for users which do not have the "edit

Metadata

Metadata

Assignees

Labels

Feature:Data ViewsData Views code and UI - index patterns before 8.0Feature:Security/SpacesPlatform Security - Spaces featurebugFixes for quality problems that affect the customer experienceimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.loe:mediumMedium Level of Effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions