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
Part of https://github.com/elastic/kibana-team/issues/769
This is a poc for adding filters by author on the dashboard listing page.
Here is the demo:
poc.filter.by.user.mov
I'll write up a doc to discuss the poc and the implementation.
In this POC:
created_by
to the base saved object interface.created_by
is passed as aCreateOptions
from outside, but with adding security apis to core, in the actual implementation core could take care of populating it from inside [Security into Core] exposeauthc.getCurrentUser
fromcore.security
#177976UserProfilesPopover
component 👍security.userProfiles.suggest
to show the list of users (not only the ones that have a dashboard 👎)security.userProfiles.suggest
to look up the user id to execute the search