Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When you give just manage_ccr role to the user to access cross cluster replication, the error which appears on the screen is Error checking permissions Cannot read property 'push' of undefined #70000

Closed
rashmivkulkarni opened this issue Jun 25, 2020 · 1 comment · Fixed by #70158
Labels
bug Fixes for quality problems that affect the customer experience Feature:Cross Cluster Search Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@rashmivkulkarni
Copy link
Contributor

Kibana -master branch

Create a role and call it as ccr_role with just manage_ccr cluster privileges and assign it to the user created.
When you login as that user and navigate to Cross cluster replication - you see the following error message displayed on the screen

Error checking permissions
Cannot read property 'push' of undefined

This is a bad error message - It does not indicate that the user is missing any privileges. if you don’t have manage, you won’t be able to really make data changes to the cluster.

Screen Shot 2020-06-25 at 12 29 39 PM

Error in console:

fetch.ts:162 Uncaught (in promise) Error: Forbidden
    at Fetch.fetchResponse (fetch.ts:162)
    at async interceptResponse (intercept.ts:58)
    at async http:/localhost:5620/9007199254740991/bundles/core/core.entry.js:50586
:5620/api/cross_cluster_replication/permissions:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

cc @LeeDr @cuff-links

@rashmivkulkarni rashmivkulkarni added Feature:Cross Cluster Search Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Jun 25, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Cross Cluster Search Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants