-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[APM] Use ES Permission API to check if a user has permissions to read from APM indices #57311
Merged
cauemarcondes
merged 7 commits into
elastic:master
from
cauemarcondes:missing-permission
Feb 19, 2020
Merged
[APM] Use ES Permission API to check if a user has permissions to read from APM indices #57311
cauemarcondes
merged 7 commits into
elastic:master
from
cauemarcondes:missing-permission
Feb 19, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sorenlouv
reviewed
Feb 11, 2020
x-pack/legacy/plugins/apm/typings/es_schemas/raw/IndexPrivileges.ts
Outdated
Show resolved
Hide resolved
sorenlouv
reviewed
Feb 11, 2020
x-pack/legacy/plugins/apm/public/components/app/ApmIndicesPermission/index.tsx
Outdated
Show resolved
Hide resolved
sorenlouv
reviewed
Feb 11, 2020
sorenlouv
reviewed
Feb 11, 2020
cauemarcondes
commented
Feb 11, 2020
sorenlouv
reviewed
Feb 11, 2020
cauemarcondes
commented
Feb 12, 2020
x-pack/legacy/plugins/apm/public/components/app/ApmIndicesPermission/index.tsx
Outdated
Show resolved
Hide resolved
cauemarcondes
force-pushed
the
missing-permission
branch
from
February 13, 2020 09:11
5126d03
to
b8aac58
Compare
sorenlouv
reviewed
Feb 14, 2020
...lugins/apm/public/components/app/APMIndicesPermission/__test__/APMIndicesPermission.test.tsx
Outdated
Show resolved
Hide resolved
sorenlouv
reviewed
Feb 14, 2020
x-pack/legacy/plugins/apm/public/components/app/APMIndicesPermission/index.tsx
Outdated
Show resolved
Hide resolved
sorenlouv
reviewed
Feb 14, 2020
x-pack/legacy/plugins/apm/public/components/app/APMIndicesPermission/index.tsx
Outdated
Show resolved
Hide resolved
sorenlouv
reviewed
Feb 14, 2020
sorenlouv
approved these changes
Feb 14, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a few few copy changes
@elasticmachine merge upstream |
sorenlouv
approved these changes
Feb 17, 2020
retest |
cauemarcondes
force-pushed
the
missing-permission
branch
from
February 19, 2020 08:00
9f3b384
to
a14e9ca
Compare
cauemarcondes
added a commit
to cauemarcondes/kibana
that referenced
this pull request
Feb 19, 2020
…d from APM indices (elastic#57311) * get indices privileges from has_privileges api * changing to ES privileges api * changing missing permission page * always show dimiss button * always show dimiss button * changing message and unit test * fixing react warning message
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #57215
Server route:
/api/apm/security/indices_privileges
I renamed all server-side from 'Permissions' to 'Privileges', since I'm going to return all privileges from APM indices. And in the client, I'll check if the user has permission based on the privileges.