Comments (6)
Hi @scf0920, this sounds like a permissions issue. Can you log in as admin
and check the permissions for someone
under Role Mappings? Then check to make sure those roles have the basic permissions you might need?
from for-elasticsearch-docs.
@aetter But it works well until kibana was restarted. And the API returns the correct results.
My security config:
Roles:
Role Map:
Users:
My solution:
- export all
Saved Objects
as a.json file - delete .kibana__someone
- log back in
someone
- import a.json into
Saved Objects
Everything was back to normal...
I think it's kibana security plugin's bug. It's going to reproduce 100%. Please try to reproduce.
Thanks.
from for-elasticsearch-docs.
@aetter can you reproduce it?
from for-elasticsearch-docs.
Hi @scf0920, unfortunately, no, I can't reproduce your error.
- When I log in with
someone
, I'm unable to create an index pattern, because I can't read any data (as expected). - When I have the administrator add an index called
someone
, I still can't create an index pattern. (See image.)
- When I map
someone
tokibana_user
, now I can create the index pattern, but I can't do much else (as expected). - When I
docker-compose stop
anddocker-compose start
and log in assomeone
, I still have my index pattern.
Can you reproduce from a brand new 0.8.0 cluster? If so, can you post your docker-compose.yml
and the start to finish steps?
from for-elasticsearch-docs.
@aetter Very thanks.. I finally found the reason...
Before:
After I change:
Then I log in as someone
, my index pattern back to normal...
In a word, someone
has miss index permissions of .kibana_xxxxxx_someone_2
. But I think it should be automatic...
You can map someone
to my own_index
and see if you can reproduce.
from for-elasticsearch-docs.
Hi @scf0920, yeah, I think that's a suggestion worth discussing in a broader forum. I'm closing this issue, but opened https://github.com/opendistro-for-elasticsearch/security/issues/31 so that we can discuss if there are any negative side effects to making this sort of change. Thanks a bunch!
from for-elasticsearch-docs.
Related Issues (20)
- 403 - Acess denied error while installing elasticsearch alerting plugin
- Should be POST request when searching with body?
- ODBC Driver 1.9.00
- Forward to OpenSearch? HOT 1
- Access rights to management page HOT 1
- PPL Command Doc Type
- Opensearch crashing on Macbook Pro M1 Max (Docker) HOT 3
- No handler for type [knn_vector]
- Update docs to reflect 1.13.3 HOT 4
- opendistro-for-elasticsearch-kibana version 1.13.3 HOT 1
- opendistroforelasticsearch yum repo not updated with 1.13.3 HOT 1
- mitigate vulnerability log4j
- Failing to use fetch_size parameter with query
- openid not working with opendistro kibana. As per steps which are provided by openditsro. kindly help us
- [Urgent] I can't make notebooks with recently created visualizations.
- mapped users option is missing
- alerting index permission
- Unable to use window functions in version 1.13.0
- OpenDistro Index Management
- opendistro-alerting-alert-history alerts disable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from for-elasticsearch-docs.