-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Assign Roles to Space from Spaces Management #191795
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
Merged
Merged
Changes from all commits
Commits
Show all changes
242 commits
Select commit
Hold shift + click to select a range
7730412
New Security Management page: View Space
tsullivan 827c2b0
Content counts link to saved objects page
tsullivan 3062995
Merge branch 'main' into roles/details/spaces-modal
tsullivan a3af1d8
link to content working
tsullivan 8261854
Polish features tab
tsullivan 250b983
Loading states
tsullivan 90862b1
minor copy update to features tab
tsullivan 08b197e
use encodeURIComponent in params of href when navigating to content
tsullivan b75b6ae
Merge branch 'main' into roles/details/spaces-modal
tsullivan bb657e9
Merge branch 'main' into roles/details/spaces-modal
tsullivan e433101
[wip] callout for current space
tsullivan 509479f
Feature table: optional header text
tsullivan 2cacaa3
Feature table: dynamic “show all” / “hide all”
tsullivan 59ac384
Enabled Features tab header text update
tsullivan 1c49338
Merge branch 'main' into roles/details/spaces-modal
tsullivan e968986
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 6121659
display switch to space only when space is not active space
eokoneyo 7f90e7f
swap hardcoded strings for translated ones
eokoneyo 35a37e9
add ftr test for space details and space switching
eokoneyo 83f5dad
fix failing test
eokoneyo dd25dd2
add switch to space icon on space list table
eokoneyo eb6497b
visual tweak for role creation page
eokoneyo 31635b7
start work on assign to role flyout
eokoneyo e844219
Merge pull request #11 from eokoneyo/tsullivan-roles-spaces-modal
tsullivan d3cf527
Merge branch 'main' into roles/details/spaces-modal
tsullivan c165690
fix i18n
tsullivan a0e4b4b
fix ts
tsullivan d926a01
Merge branch 'main' into roles/details/spaces-modal
tsullivan b711c46
Merge branch 'main' into roles/details/spaces-modal
tsullivan d3d6eec
Truncate description in spaces grid page
tsullivan 3b9b113
Use subdued badge color in tabs
tsullivan 7639092
Update spaces grid for multiple actions
tsullivan 581b59f
Keep user on spaces grid page when they switch to space from there
tsullivan bc79e01
fix i18n error
tsullivan 3afa207
Merge branch 'main' into roles/details/spaces-modal
tsullivan 6a64fa6
Merge branch 'main' into roles/details/spaces-modal
tsullivan e7ae2f2
add fixme props
tsullivan 532a0cc
fix ts
tsullivan 7079146
Merge branch 'main' into roles/details/spaces-modal
tsullivan 4341bf2
Merge branch 'main' into roles/details/spaces-modal
tsullivan c7ea1bb
Current space badge for space detail header
tsullivan ac40e06
Show selected solution in space detail
tsullivan fed1c85
Cleanup
tsullivan 5b89ead
Merge branch 'main' into roles/details/spaces-modal
tsullivan 2a16ec9
Minor feedback updates
tsullivan 19dd7ff
Make action icons for the space consistent
tsullivan 6e00210
include roleAPIClient
eokoneyo fa0a086
conditionally render role action based on user capabilities
eokoneyo fbfa5c2
start on assigning space to selected roles
eokoneyo b92d1e5
switch to leveraging predefined privilege
eokoneyo e5f24ac
Design feedback
eokoneyo 825be30
Merge pull request #13 from eokoneyo/feat/assigning-roles-to-space
tsullivan 26f20e3
Merge branch 'main' into roles/details/spaces-modal
tsullivan 2505f3d
Merge branch 'main' into roles/details/spaces-modal
tsullivan 07b4e5b
fix jest test
tsullivan 12995c1
fix fn test
tsullivan 16eb2a6
Merge branch 'main' into roles/details/spaces-modal
tsullivan 43dc4f8
Merge branch 'main' into roles/details/spaces-modal
tsullivan 5f851b3
File rename
tsullivan 0d227e5
Replace Omit with Pick
tsullivan 879832e
Add General tab
tsullivan af8121b
Add Solution View to features tab
tsullivan ce101fc
Merge branch 'main' into roles/details/spaces-modal
tsullivan 83c0a91
fix solution view in features tab
tsullivan b9c8ff0
Clean up args
tsullivan 17a66ef
Avoid `useKibana`
tsullivan 5243f1b
Wip - make editable
tsullivan bf244d4
Merge branch 'main' into roles/details/spaces-modal
tsullivan 278dee4
Fix ts in Roles
tsullivan 5e064f7
Unsaved changes prompt
tsullivan 1cc5125
quick checks and consistency
tsullivan 79afa3a
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine fb221eb
Merge branch 'main' into roles/details/spaces-modal
tsullivan 9666bd4
Merge branch 'main' into roles/details/spaces-modal
tsullivan 0f2c78c
Optional title for SectionPanel to lessen headers for View Space tabs
tsullivan dbdbaa5
Handle allowFeatureVisibility
tsullivan cc06372
Implement save space features and space settings
tsullivan 95a54ac
Merge branch 'main' into roles/details/spaces-modal
tsullivan 99802b0
Use new UI for Edit link
tsullivan cae0793
Merge branch 'main' into roles/details/spaces-modal
tsullivan abddade
--wip-- [skip ci]
tsullivan e7a2c96
Footer controls
tsullivan e4dbc1e
Merge branch 'main' into roles/details/spaces-modal
tsullivan aa27b32
Remove Settings button
tsullivan b8b1b52
wip: assign roles from create form
tsullivan 0977eb7
Merge branch 'main' into roles/details/spaces-modal
tsullivan d7f96e0
Merge branch 'main' into roles/details/spaces-modal
tsullivan 1269674
fix unit test
tsullivan 0f3d01b
Remove features column from table for non-classic
tsullivan adaea5f
Move features table to settings tab for non-classic
tsullivan 2d4ec56
fix unit test
tsullivan 67146fb
show space badge if non-classic
tsullivan 3f81a07
Merge branch 'roles/details/spaces-modal' of github.com:tsullivan/kib…
tsullivan 54028cf
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 1211142
Merge branch 'main' into roles/details/spaces-modal
tsullivan e53ce6d
fix functional test
tsullivan ad8c702
wip fix functional tests for new tab design
tsullivan 2465325
wip fix functional tests for new tab design
tsullivan 60d79cf
update user impact warning
tsullivan 02d82f1
Merge branch 'roles/details/spaces-modal' of github.com:tsullivan/kib…
tsullivan f3224c8
Fix edit space confirm modals
tsullivan 4d013a4
Fix functional tests
tsullivan 78a07e5
skip failing tests
tsullivan c9eebea
Merge branch 'main' into roles/details/spaces-modal
tsullivan 801a52c
Fix update avatar initials
tsullivan 2c70b05
Apply notifications when save or cancel
tsullivan f2cae83
fix font size for "No features visible"
tsullivan 80d4188
handle error when user has no privilege to view roles
tsullivan 22b9840
fix fn tests
tsullivan c19c560
Merge branch 'main' into roles/details/spaces-modal
tsullivan fbec082
Clean up unused prop
tsullivan d3abbe1
Remove stray WIP
tsullivan 04f1cb5
lazy load tab content
tsullivan e732902
Fix delete space
tsullivan 0fd7a06
consolidate ftr tests for listing of spaces
tsullivan 2ebb3f6
start ftr test for create space
tsullivan ccddaaf
Test for editing space initials
tsullivan 5a71687
functional tests cleanup
tsullivan f2d6da4
Merge branch 'main' into roles/details/spaces-modal
tsullivan eb4a5f5
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 24c014b
fix i18n check
tsullivan d7f9a71
Show/hide feature visibility picker
tsullivan 31149f3
Merge branch 'main' into roles/details/spaces-modal
tsullivan 2cb78c7
Correction for solution visibility / feature visibility
tsullivan ec6b2f9
fix tests
tsullivan 454e357
Merge branch 'main' into roles/details/spaces-modal
tsullivan 5f82465
Memoize functions that are passed as props to child components
tsullivan 73bf1b6
todos
tsullivan 8d4838a
Merge branch 'main' into roles/details/spaces-modal
tsullivan c53c6d5
Unit test for General Settings tab
tsullivan 273fdc8
Merge branch 'main' into roles/details/spaces-modal
tsullivan 24034b3
Update comments
tsullivan 986e8f5
More unit test for General Settings tab
tsullivan 8052507
Merge branch 'main' into roles/details/spaces-modal
tsullivan 19a81bc
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine f69154e
Merge branch 'main' into roles/details/spaces-modal
elasticmachine 1bf9623
Merge branch 'roles/details/spaces-modal' of github.com:tsullivan/kib…
tsullivan 3f4c279
Merge branch 'main' into roles/details/spaces-modal
tsullivan ae18346
[Spaces] Manage Space: features picker is shown only when solution is…
tsullivan 2338e06
create spaces assigned role table
eokoneyo 8872a5d
extend definition of roles that can be edited
eokoneyo bb69ad5
fix pluralization in select all button
eokoneyo 73a0dd1
slight adjustments rendered items count
eokoneyo 88a2c2d
fix text, and hide assign to space button when there are roles to assign
eokoneyo 4b76e01
integrate security packages
eokoneyo 9cbf1ec
add tests for provisioning privilege API client
eokoneyo 8f2f38d
even more UI improvements
eokoneyo 1bc6528
refactor trigger for flyout and integrate it with bulk actions
eokoneyo 63035a7
make accomodation for edit existing record
eokoneyo 9541fc4
integrate API to update roles, leverage this to update existing space…
eokoneyo ee5e218
add logic to handle removing roles from space
eokoneyo c13613e
refactor implementation to provide visual feedback on UI actions
eokoneyo a50eade
fix logic for excluding roles already ppart of space
eokoneyo ad1e526
fix logic with selectable items
eokoneyo f51800b
add implementation for assigning custom roles privileges
eokoneyo 8be8076
refactor logic for selecting role cutomization anchor
eokoneyo e91dff4
UI cleanup
eokoneyo 1b7d516
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 7f5cff9
fix failing tests
eokoneyo 27b1428
UI tweaks
eokoneyo 3fb9d8e
add tests for view space provider
eokoneyo f18eba3
[CI] Auto-commit changed files from 'node scripts/notice'
kibanamachine d29d066
add tests for space assign role privilege form
eokoneyo 7579ac5
[CI] Auto-commit changed files from 'node scripts/notice'
kibanamachine 18c0d83
pass appropriate types to component
eokoneyo ccd34f3
Merge pull request #14 from eokoneyo/assign-roles-to-space
tsullivan 1eaa880
Merge branch 'main' into roles/details/spaces-modal
tsullivan 699088d
remove the EuiText that surrounds the view-space-page
tsullivan 70fb39f
--wip-- [skip ci]
tsullivan 9a8320d
Merge branch 'main' into roles/details/spaces-modal
tsullivan cfb7972
fix ts
tsullivan 467bea8
file/folder reorg
tsullivan acae0c5
file/folder reorg
tsullivan 38a85b0
Merge branch 'roles/details/spaces-modal' of github.com:tsullivan/kib…
tsullivan 0f084bf
update delete spaces button snapshot
eokoneyo 72108a5
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan 11b4ef2
Diff cleanup
tsullivan 3bea21d
Move FormValues interface to /management/types
tsullivan 3592d31
Update placeholder text for Solution View picker
tsullivan 0314b3f
increase width of assign roles flyout
tsullivan db8fe26
Improve error handling
tsullivan 72be2d4
custom sorting for roles in listing
tsullivan 4893351
fix missing context in test
tsullivan 813f33c
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan 2452e53
fix i18n check
tsullivan 1ae925c
Refresh the list of roles when user navigates to “Assigned roles” tab
tsullivan a86f1f4
Error handling for bulk update of roles
tsullivan 5a88893
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan f016bfe
Update unselectable message
tsullivan 6733b44
Fix type check
tsullivan 18b4af9
fix i18n tooling issue
tsullivan 814651c
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan 976cb8d
remove ability to bulk edit roles that are assigned to a space
tsullivan bedf007
fix ts issues
tsullivan e8f7426
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan 4027175
Granularity for titles and descriptions of action icons for not-edita…
tsullivan a8b40b1
Fewer LOC for i18n strings
tsullivan 2681f1f
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan 4aed39e
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan 61b2c73
Add more exports of interfaces from security/plugin_types_public
tsullivan 3435f1a
text copy changes, fix localization, fix sorting by role name
tsullivan 8ba04d0
fix spaces manager mock
tsullivan 7dfc924
Updates per upgrade of @testing-library/user-event
tsullivan fe31eb8
more consistency for data-test-subj
tsullivan 9254bd7
Add new constants in plugins/spaces/common
tsullivan 33f26f6
Apply suggestions from code review
tsullivan 316ccff
Merge branch 'spaces/assign-roles-to-space' of github.com:elastic/kib…
tsullivan fbd874a
remove usage of "any"
tsullivan ab99690
clean up if/for/if constructs
tsullivan 16b9720
text copy
tsullivan 95582d5
fix naming of edit_space_provider
tsullivan 79c0129
fix naming of CustomizeSpaceFormValues
tsullivan ca58ca6
explanation comment for SpaceContentTypeSummaryItem
tsullivan bceb3aa
_state => clonedState
tsullivan 9ac893e
Comment on how removeRole in bulk-edit works
tsullivan 1395f76
add explanation comment regarding meaning of "active space" and "curr…
tsullivan 3924608
Consistent handleApiError
tsullivan a34a44f
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine d92214e
Fix ability to set space avatar
tsullivan 379754a
Use logger from core service
tsullivan 7bd81f3
fix tests
tsullivan f7ddd92
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 2dd6c57
improve test coverage
eokoneyo 0a80282
keep assign button disabled till a role selection has been made
eokoneyo 07f92e1
Merge branch 'main' into spaces/assign-roles-to-space
elasticmachine 65b3e4a
make bulk actions for role asisgned table opt-in
eokoneyo 6b929ea
Merge branch 'main' into spaces/assign-roles-to-space
elasticmachine 482260d
even more copy and minor ui fixes from product feedback
eokoneyo cf7e9a9
add subtle link to manage roles in role selection combobox
eokoneyo d70ae24
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan 9a8e335
empty the disabled features list when the solution view non-classic
tsullivan 0fe3f4b
Reorganize create_edit_space tests to dedicated folder
tsullivan 110a0b3
Test that verifies changing space avatar
tsullivan 21c2d56
display kibana privilege form for all privilege selection
eokoneyo bf8eea7
revamp role assignment flyout to match new design
eokoneyo fc40515
create consolidate representation for edit operation privilege assign…
eokoneyo 89278c9
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan ebe0c6a
Add rolesFetchError to state
tsullivan a1e533e
Update message on security access to features based on ability to man…
tsullivan bdc1a5c
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan 385d2a1
add space role assignment flyout help text to match updated designs
eokoneyo ae73405
Merge branch 'main' into spaces/assign-roles-to-space
tsullivan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.