Clarify File-based grants are not visible with API calls
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
調査の方向性
まず、issue にリンクされている defining-roles と mapping-roles のドキュメントページを確認し、次にそれらの説明を提供された API の例と比較します。ファイル内または users CLI を通じて定義されたユーザー、ロール、マッピングは、対応する管理 API では報告されないことを明確にし、更新した文言を両方の例に照らして確認します。
索引モデルが issue の本文から書いたものです。
説明
The following is true of all versions: The APIs (user, role, role mapping) only work with objects that were defined via the API.
Objects (users, roles, mappings) defined in files need to be managed via the files (or the users CLI tool which uses the files).
API exploration calls (and consecutively, Kibana) will not report roles and mappings defined in files.
Example, where role production_user is defined in roles.yml and user "test" is a file realm user created with the users CLI tool.
curl -X GET -u test:password http://localhost:9200/_xpack/security/_authenticate
{"username":"test","roles":["production_user"],"full_name":null,"email":null,"metadata":{},"enabled":true}[root@localhost x-pack]#
curl -X GET -u test:password http://localhost:9200/_xpack/security/role/production_user
{}
curl -X GET -u elastic:password http://localhost:9200/_xpack/security/user/test
{}
Some places to update docs to reflect this behavior:
https://www.elastic.co/guide/en/elastic-stack-overview/6.6/defining-roles.html#roles-management-file
https://www.elastic.co/guide/en/elastic-stack-overview/6.6/mapping-roles.html#mapping-roles-file
- 主要言語
- Java
- スター
- 105
- フォーク
- 249
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elastic/stack-docs のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
elastic/stack-docs#2749 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
elastic/stack-docs#2395 ·
-
discussion help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
elastic/stack-docs#2291 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
elastic/stack-docs#2263 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
elastic/stack-docs#2224 ·
elastic/stack-docs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
infinispan/infinispan#18150 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
opensearch-project/k-NN#3597 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100