-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Write restricted SOs] Allow creation, update, delete and transfer ownership #224411
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
SiddharthMantri
merged 273 commits into
elastic:security/read-only-dashboards
from
SiddharthMantri:security/read-only-dashboards-crud-api
Oct 21, 2025
Merged
Changes from all commits
Commits
Show all changes
273 commits
Select commit
Hold shift + click to select a range
f987c85
update access control service
SiddharthMantri 194e72b
fix usage of actions
SiddharthMantri f3c6e7e
preliminary changes to create
SiddharthMantri 23bde8e
Merge branch 'security/read-only-dashboards' into security/read-only-…
SiddharthMantri 9b66a09
remove changes from type registry post merge
SiddharthMantri 5436103
remove changes post merge
SiddharthMantri 3c12216
cleanup comments
SiddharthMantri 4ceb8da
cleanup comments
SiddharthMantri 8b88e31
correct use of async/await
SiddharthMantri fd86b12
Test plugin for read only SOs
SiddharthMantri 961ee97
add plugin, update interfaces, update mappings
SiddharthMantri 64a5e2b
Test plugin with basic tests
SiddharthMantri a398469
Address PR comment
SiddharthMantri 8ae059f
support dashboard as accessControl SO type
SiddharthMantri fefc471
update Create, update, delete APIs
SiddharthMantri 1764956
use session ids for test
SiddharthMantri 431e7a9
update tests, update privilege registration
SiddharthMantri 0bba2c9
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine 43a0d00
update checks for modify access
SiddharthMantri da73dbb
change ownership api base
SiddharthMantri 0277b61
change ownership mode
SiddharthMantri 1fdefb0
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine 97153d7
Merge branch 'security/read-only-dashboards' into security/read-only-…
SiddharthMantri 788fac8
correctly use privileges factory
SiddharthMantri 4465b69
Update tests
SiddharthMantri 8b421f3
update extension, remove dashboard registration
SiddharthMantri c0b00a0
update action
SiddharthMantri 757bd0a
Update change ownership
SiddharthMantri 91c42ce
consolidate privilege checks
SiddharthMantri 46bb082
Update x-pack/test/spaces_api_integration/read_only_objects/apis/spac…
SiddharthMantri 648642e
Update x-pack/test/spaces_api_integration/read_only_objects/apis/spac…
SiddharthMantri ac81535
fix
SiddharthMantri 2c6190b
[CI] Auto-commit changed files from 'node scripts/lint_packages --fix'
kibanamachine 1ad12ff
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine e075db9
Fix issue with authorization of object permissions
SiddharthMantri d9265b2
update type defs
SiddharthMantri 009ae43
incomplete implementation
SiddharthMantri 40bac7e
update tests
SiddharthMantri 6e2a755
Update access control service
SiddharthMantri 40e0138
enforceAccessControl checls
SiddharthMantri 132151f
remove unused params
SiddharthMantri 8ecbf03
Add authzChangeAccessMode
SiddharthMantri 1ad2ac8
fix verbs
SiddharthMantri 3846ea5
Update unit tests
SiddharthMantri 6bce6da
update ftr
SiddharthMantri e035423
Update extension unit tests
SiddharthMantri 0a9f36e
Update APIs, improve flow
SiddharthMantri 8087054
implement saved objects access mode change and refactor ownership change
SiddharthMantri f12080b
fix security extension tests
SiddharthMantri d89ed27
update mocks
SiddharthMantri cc3abe8
restore defaults
SiddharthMantri 184ae08
update changeaccessControl code
SiddharthMantri 24553c1
[CI] Auto-commit changed files from 'node scripts/generate codeowners'
kibanamachine 39462dc
Fix types
SiddharthMantri a288781
update tsdocs
SiddharthMantri e501ceb
update test
SiddharthMantri 069f03f
fix types
SiddharthMantri 8714845
Update types
SiddharthMantri eaf6b7b
update find test
SiddharthMantri b2b9f5e
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine 8c1ffa1
update tests
SiddharthMantri 7d20fc9
use set
SiddharthMantri 5cba6f3
update tests
SiddharthMantri de063f6
update test types
SiddharthMantri e73b3a9
update changes to tests
SiddharthMantri 4f793b6
remove type field
SiddharthMantri f60b22a
Merge branch 'security/read-only-dashboards' into security/read-only-…
SiddharthMantri ef90bbb
Update test blocks
SiddharthMantri c553f13
update tests
SiddharthMantri 9be640d
Update tests
SiddharthMantri 41cf090
Update to use default
SiddharthMantri 899355b
[CI] Auto-commit changed files from 'node scripts/generate codeowners'
kibanamachine d4b56c7
Merge branch 'security/read-only-dashboards' into security/read-only-…
SiddharthMantri 536f784
Update src/core/packages/saved-objects/api-server-internal/src/lib/ap…
SiddharthMantri 20d7480
test reset defaults
SiddharthMantri ed3ee85
[CI] Auto-commit changed files from 'node scripts/generate codeowners'
kibanamachine 841c4af
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine e8d3a97
fix ftr config list
SiddharthMantri 8fa4a29
[CI] Auto-commit changed files from 'node scripts/styled_components_m…
kibanamachine 6faaa78
move config files to match main
SiddharthMantri 65481ee
fix codeowners
SiddharthMantri 31f7958
[CI] Auto-commit changed files from 'node scripts/generate codeowners'
kibanamachine af4ef30
[CI] Auto-commit changed files from 'node scripts/eslint_all_files --…
kibanamachine 9450038
remove unneeded saml path
SiddharthMantri 4da67d8
fix tsconfig extends path
SiddharthMantri 328d079
update security service
SiddharthMantri 3f6dd8d
fix issue with services
SiddharthMantri 00a1332
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine d25582e
Address PR comments
SiddharthMantri a7a0d89
update validation schema test
SiddharthMantri 18fef78
remove generics
SiddharthMantri f83f934
update types
SiddharthMantri 28d4c33
remove generics
SiddharthMantri a1a47ff
[CI] Auto-commit changed files from 'node scripts/generate codeowners'
kibanamachine 0d7124b
remove changes for repository es client
SiddharthMantri 01e5606
remove whitespace
SiddharthMantri eb73be6
update tests, and create/bulk create apis
SiddharthMantri fc5f05e
Merge branch 'security/read-only-dashboards' into security/read-only-…
SiddharthMantri a780711
fix typo post merge
SiddharthMantri b49fa39
break up function, add comments
SiddharthMantri be0d0e2
comments
SiddharthMantri 182453b
update checks
SiddharthMantri 2b660fa
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine 60512b5
Add mermaid diagram
SiddharthMantri 48cb4c2
update readme
SiddharthMantri 2a08b06
cast doc with source
SiddharthMantri cd40903
update mermaid diagram
SiddharthMantri 5cff822
Update unit tests
SiddharthMantri 0e0fda9
update delete tests
SiddharthMantri 4e859ec
Update typeguards
SiddharthMantri b526ade
update ftr tests
SiddharthMantri f7ade61
remove unknown types
SiddharthMantri 6261b5e
address PR comments
SiddharthMantri 7fc75a3
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine ac56b1b
Address PR comments
SiddharthMantri 04a2a82
address PR comments: Test config, test plugin deps, update unit tests…
SiddharthMantri 2a5b747
update tests
SiddharthMantri 3943a8c
Update x-pack/platform/plugins/shared/security/server/saved_objects/a…
SiddharthMantri 72f70d9
comments on PR
SiddharthMantri 9b68e4d
[CI] Auto-commit changed files from 'node scripts/notice'
kibanamachine 145a0e4
update mocks
SiddharthMantri 18a464e
[CI] Auto-commit changed files from 'node scripts/yarn_deduplicate'
kibanamachine f780201
[CI] Auto-commit changed files from 'node scripts/eslint_all_files --…
kibanamachine 92753f5
specifically disallow accesscontrol for upsert
SiddharthMantri b158482
add error message for upserting an accessControl-able type
SiddharthMantri 0ddecab
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine e86f4c7
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine 84f3318
Fixed usage of type registry
SiddharthMantri 779ff35
update unit tests
SiddharthMantri 782e2dd
remove exclusive test
SiddharthMantri 8c90cba
fix usage of return
SiddharthMantri 99453da
update comments
SiddharthMantri 4e51393
update type check
SiddharthMantri 6c85e24
Update types, constants and add test for getWithActions
SiddharthMantri 640dbab
update test config
SiddharthMantri e9c8cea
Simplify login function naming
SiddharthMantri a89fcfd
Update test cookie names
SiddharthMantri 96674c6
Address some PR comments: use current user for updated_by field
SiddharthMantri 7772424
fix types, add test for invalid user profile id
SiddharthMantri 65ce31b
Updated ACS checks
SiddharthMantri 1c7b19c
Fixes to using authz result in access control enforcement
SiddharthMantri 4606d8e
clean up error messages
SiddharthMantri fe3266c
Update src/core/packages/saved-objects/api-server/src/apis/bulk_creat…
SiddharthMantri 8596dec
update core usage stats
SiddharthMantri 66965e2
Update src/core/packages/saved-objects/server/src/saved_objects_type.ts
SiddharthMantri c82c93f
Update src/core/packages/saved-objects/api-server-internal/src/lib/ap…
SiddharthMantri eb5575b
Update src/core/packages/saved-objects/api-server-internal/src/lib/ap…
SiddharthMantri 18314f2
address PR review: move isMgetError
SiddharthMantri b23921c
Update src/core/packages/saved-objects/api-server-internal/src/lib/ap…
SiddharthMantri 4e4e99e
Update checks for accessControlToWrite
SiddharthMantri f45cae2
rearrange internal utils
SiddharthMantri d169766
fix type error
SiddharthMantri 365ed00
throw left correctly
SiddharthMantri 6637e21
Merge branch 'security/read-only-dashboards' into security/read-only-…
SiddharthMantri 6c91cbe
fix merge issues
SiddharthMantri fc8ba6b
[CI] Auto-commit changed files from 'node scripts/yarn_deduplicate'
kibanamachine 88e06fc
fix issue in privilege registration after merge
SiddharthMantri 4e0478f
fix types
SiddharthMantri b808c42
delete by namespace test
SiddharthMantri 3d524c4
fix issue with delete by namespace test
SiddharthMantri 71d15f3
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine b2ae700
update telemetry collection stat files
SiddharthMantri c1699b4
revert telemetry changes for future PR
SiddharthMantri c67a1a2
bulk delete integration tests
SiddharthMantri 660b117
force bulk delete objects
SiddharthMantri f0f445c
fix bulk delete
SiddharthMantri 4c29873
export type from common SO Apis
SiddharthMantri bed15b8
export type from common SO Apis
SiddharthMantri 2ae1372
fix bulk update and update integration tests
SiddharthMantri d81d9d2
Fix unused vars
SiddharthMantri 44cdd34
fix usage of accessControl
SiddharthMantri 8432089
remove global all manage_access_control
SiddharthMantri 489aca5
[CI] Auto-commit changed files from 'node scripts/yarn_deduplicate'
kibanamachine 58c61cc
revert all privileges factory changes
SiddharthMantri 90b383f
revert all privileges factory changes
SiddharthMantri 6e3f04e
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine da696ad
revert changes to tests
SiddharthMantri 15802fa
revert authz service changes
SiddharthMantri ecb207b
use common types
SiddharthMantri 00038a6
Address PR comments
SiddharthMantri d21fcc6
rework delete to ensure we don't call get multiple times if not needed
SiddharthMantri 699077a
update error message in jest test
SiddharthMantri 9dcd072
update jest tests
SiddharthMantri 1745c42
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine cb6d205
update tests for default access mode, update error handling in test p…
SiddharthMantri 2bd71c1
[CI] Auto-commit changed files from 'node scripts/notice'
kibanamachine 3959df5
Update types for access control internal operation
SiddharthMantri 3cc7185
bulk create error handling
SiddharthMantri 0f11670
update bulk delete/create errors and types
SiddharthMantri 1c5d300
update change object access control type safety
SiddharthMantri 7763048
update type guard
SiddharthMantri 088dd84
revert typeguard changes
SiddharthMantri 425e728
update change access mode integration test
SiddharthMantri a45a261
remove exclusive test
SiddharthMantri a32f2f0
partial transfer of ownership test
SiddharthMantri cd13217
update cookie
SiddharthMantri 167ce84
update asserts
SiddharthMantri 36e84bb
Merge branch 'security/read-only-dashboards' into security/read-only-…
SiddharthMantri 67dab30
merge in changes from import/export cc: @jeramysoucy
SiddharthMantri 3f2bdf4
Fix types
SiddharthMantri d29401b
fix types
SiddharthMantri 098ceb8
fix console
SiddharthMantri 27255b4
fix type errors
SiddharthMantri daa0d1b
Merge branch 'security/read-only-dashboards' into security/read-only-…
SiddharthMantri f7ee434
Update config for integration tests
SiddharthMantri f0ce22d
Fix issue with preflight result
SiddharthMantri a0518bd
Update ACS unit testS
SiddharthMantri 433747f
update delete code
SiddharthMantri 7aeab2f
Address comments from review
SiddharthMantri 2c97ccc
fix types
SiddharthMantri 7c5ae8d
update unit test
SiddharthMantri b6fec92
fix and update create unit tests
SiddharthMantri 63698de
update unit tests for delete
SiddharthMantri e37994b
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine 26c2ebf
Public readonly property
SiddharthMantri 7ea5027
address PR comments
SiddharthMantri 56dc6fd
test types
SiddharthMantri cdafb31
merge from import/export test plugin
SiddharthMantri 279e927
bulk create integration tests
SiddharthMantri b74a6c7
update tests
SiddharthMantri 76cad2f
update tests
SiddharthMantri f267f8f
Update creaet test assertion
SiddharthMantri e9f8d6d
[CI] Auto-commit changed files from 'node scripts/notice'
kibanamachine 7d4c49a
fix awaits
SiddharthMantri 20faaf1
Merge branch 'security/read-only-dashboards' into security/read-only-…
elasticmachine 399c64b
Update profile uid getter
SiddharthMantri 294a827
update test import
SiddharthMantri e64d094
partial address PR comments
SiddharthMantri 0ccc2ea
PR comments: read only objects integration tests
SiddharthMantri 510dc55
audit event for enforce
SiddharthMantri 50cfb9b
update integration testS
SiddharthMantri 0392363
update integration tests
SiddharthMantri 1ba432e
update integration tests
SiddharthMantri c0e76e5
update #update integration tests
SiddharthMantri c82d0bc
Update unit tests
SiddharthMantri f8d9327
update ownership object
SiddharthMantri b249c92
Fix repeated code in delete
SiddharthMantri 11a373d
Update integration test
SiddharthMantri bae3d19
update test assertions
SiddharthMantri f65e229
use decision making function
SiddharthMantri 898b2a7
fix type error
SiddharthMantri 1416b26
Updates priv check required logic and adds tests
jeramysoucy b441377
[CI] Auto-commit changed files from 'node scripts/eslint_all_files --…
kibanamachine 2e69d75
fix unit testS
SiddharthMantri 58dabd9
simplify preflight, restrict to multiple/multiple-namespace only
SiddharthMantri 8120b46
fix exclusive test
SiddharthMantri dfb6655
fix registry jest test
SiddharthMantri 2c96ed5
Update unit tests, integration tests, error messages
SiddharthMantri 60c9a88
Addresses simple updates from review feedback
jeramysoucy 2ca85e1
Address PR comments
SiddharthMantri 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
SiddharthMantri marked this conversation as resolved.
Show resolved
Hide resolved
|
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.