Bug 1444816 - cluster-admin/cluster-reader groups can't access .all and .operations.*
Summary: cluster-admin/cluster-reader groups can't access .all and .operations.*
Keywords:
Status: CLOSED DUPLICATE of bug 1446217
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 3.4.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jeff Cantrill
QA Contact: Xia Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-24 11:31 UTC by Ruben Romero Montes
Modified: 2020-07-16 09:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-27 19:12:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ruben Romero Montes 2017-04-24 11:31:36 UTC
Description of problem:
When a user belongs to a cluster-admin/cluster-reader group is not able to see the .all and .operations.* indices

Version-Release number of selected component (if applicable):
logging-elasticsearch-3.4.1-17
logging-kibana-3.4.1-6

How reproducible:
Always

Steps to Reproduce:
1. create a group
 $ oadm groups new myadmins
2. Add user to group
 $ oadm groups add-users myadmins bob
3. Grant cluster-admin/cluster-reader role to user
 $ oadm policy add-cluster-role-to-group cluster-admin myadmins
4. Open Kibana and go to Settings->Indices

Actual results:
I can't see the .all and .operations.* index patterns

Expected results:
All the projects and the .all and .operations.* index patterns should appear

Additional info:
Following the same steps but using `add-cluster-role-to-user` instead I have the expected results.
When I mention cluster-reader I consider the logging-elasticsearch configmap already contains the following parameter:
  openshift.operations.allow_cluster_reader: true

Comment 1 Rich Megginson 2017-04-27 19:12:34 UTC

*** This bug has been marked as a duplicate of bug 1446217 ***


Note You need to log in before you can comment on or make changes to this bug.