Repository navigation
[ML] Fix FileViz new ML Job link shown without canCreateJob permission - #27612
Merged
alvarezmelissa87 merged 1 commit intoDec 21, 2018
Merged
Conversation
alvarezmelissa87
requested review from
jgowdyelastic,
peteharverson and
walterra
December 20, 2018 18:25
Contributor
|
Pinging @elastic/ml-ui |
Contributor
💔 Build Failed |
alvarezmelissa87
force-pushed
the
ml-fileviz-new-job-link
branch
from
December 20, 2018 20:32
047f8bb to
f2bb081
Compare
Contributor
💔 Build Failed |
canCreateJob permissioncanCreateJob permission
alvarezmelissa87
force-pushed
the
ml-fileviz-new-job-link
branch
from
December 21, 2018 15:14
f2bb081 to
92d4e3a
Compare
Contributor
💚 Build Succeeded |
alvarezmelissa87
added a commit
to alvarezmelissa87/kibana
that referenced
this pull request
Dec 21, 2018
alvarezmelissa87
added a commit
to alvarezmelissa87/kibana
that referenced
this pull request
Dec 21, 2018
alvarezmelissa87
added a commit
that referenced
this pull request
Dec 21, 2018
alvarezmelissa87
added a commit
that referenced
this pull request
Dec 21, 2018
patrykkopycinski
pushed a commit
to patrykkopycinski/kibana
that referenced
this pull request
May 6, 2026
This file contains hidden or 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
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.
Summary
Fix for: #25804
Use same permission check for showing
create new ML jobafter file import in fileViz asCreate New Jobbutton in JobManagement > JobsList.checkPermission('canCreateJob') && mlNodesAvailable()Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] This was checked for cross-browser compatibility, including a check against IE11- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support- [ ] Documentation was added for features that require explanation or tutorials- [ ] Unit or functional tests were updated or added to match the most common scenarios- [ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
- [ ] This was checked for breaking API changes and was labeled appropriately- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately