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

block user from proceeding when she has no permissions to view rollup… #24024

Conversation

bmcconaghy
Copy link
Contributor

Summary

This PR adds a no permission screen to the rollup CRUD UI when the user gets back a 403 error from the listJobs API call.

image

This change can be verified by adding a user with kibana_user permissions and then logging in as that user and navigating to the rollup jobs section in management.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature additition or change that requires a release note and was labeled appropriately

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@jen-huang jen-huang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM! Thanks for adding this 😄

@bmcconaghy bmcconaghy merged commit 456d57f into elastic:feature/rollups Oct 15, 2018
@bmcconaghy bmcconaghy deleted the handle_no_permissions_for_rollup_jobs_crud branch October 15, 2018 16:02
jen-huang pushed a commit that referenced this pull request Oct 17, 2018
#24024)

* block user from proceeding when she has no permissions to view rollup jobs

* removing stray console.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants