-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[ML] Fix data view service permissions #119712
[ML] Fix data view service permissions #119712
Conversation
Pinging @elastic/ml-ui (:ml) |
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: |
There is still an issue with the permission checking when deleting a DFA job I think. For a user with this configured in the role: the option to delete the data view when deleting a job is still shown, and the data view can be deleted: Note this also affects deleting a transform. #119732 created to fix disabled checkbox |
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.
The issue around the check on the Delete job / transform controls is unrelated to the change here, so best done in a separate PR. This edit LGTM.
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
Calls to the data view service should use current user.