-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Spaces Phase 1 #21408
Spaces Phase 1 #21408
Commits on Apr 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 01b5cf0 - Browse repository at this point
Copy the full SHA 01b5cf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cee640 - Browse repository at this point
Copy the full SHA 7cee640View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0afd1c1 - Browse repository at this point
Copy the full SHA 0afd1c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30e86d1 - Browse repository at this point
Copy the full SHA 30e86d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 936180b - Browse repository at this point
Copy the full SHA 936180bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d4f946 - Browse repository at this point
Copy the full SHA 4d4f946View commit details -
Configuration menu - View commit details
-
Copy full SHA for df569df - Browse repository at this point
Copy the full SHA df569dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9979fb9 - Browse repository at this point
Copy the full SHA 9979fb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 646a80a - Browse repository at this point
Copy the full SHA 646a80aView commit details
Commits on May 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cfa9af3 - Browse repository at this point
Copy the full SHA cfa9af3View commit details -
[Spaces WIP] Additional space management UI (#18607)
Functional space management UI
Configuration menu - View commit details
-
Copy full SHA for d4386db - Browse repository at this point
Copy the full SHA d4386dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4abf8a - Browse repository at this point
Copy the full SHA e4abf8aView commit details
Commits on May 3, 2018
-
* Introducing URL Context Merging to `spaces-phase-1`, and open TODO items in this PR will be addressed in separate PRs.
Configuration menu - View commit details
-
Copy full SHA for 63d5eaa - Browse repository at this point
Copy the full SHA 63d5eaaView commit details
Commits on May 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 4cbfe51 - Browse repository at this point
Copy the full SHA 4cbfe51View commit details
Commits on May 16, 2018
-
Beginning to use the ES APIs to insert/check privileges (#18645)
* Beginning to use the ES APIs to insert/check privileges * Removing todo comment, I think we're good with the current check * Adding ability to edit kibana application privileges * Introducing DEFAULT_RESOURCE constant * Removing unused arguments when performing saved objects auth check * Performing bulkCreate auth more efficiently * Throwing error in SavedObjectClient.find if type isn't provided * Fixing Reporting and removing errant console.log * Introducing a separate hasPrivileges "service" * Adding tests and fleshing out the has privileges "service" * Fixing error message * You can now edit whatever roles you want * We're gonna throw the find error in another PR * Changing conflicting version detection to work when user has no application privileges * Throwing correct error when user is forbidden * Removing unused interceptor * Adding warning if they're editing a role with application privileges we can't edit * Fixing filter... * Beginning to only update privileges when they need to be * More tests * One more test... * Restricting the rbac application name that can be chosen * Removing DEFAULT_RESOURCE check * Supporting 1024 characters for the role name * Renaming some variables, fixing issue with role w/ no kibana privileges * Throwing decorated general error when appropriate * Fixing test description * Dedent does nothing... * Renaming some functions
Configuration menu - View commit details
-
Copy full SHA for d679cf5 - Browse repository at this point
Copy the full SHA d679cf5View commit details
Commits on May 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 980c202 - Browse repository at this point
Copy the full SHA 980c202View commit details
Commits on May 21, 2018
-
[Spaces] Space Avatar with selector in main Kibana menu (#18609)
Adds Space Avatar with selector in main Kibana menu
Configuration menu - View commit details
-
Copy full SHA for 50c73b4 - Browse repository at this point
Copy the full SHA 50c73b4View commit details -
[Spaces] Create Default Space on startup (#19177)
When Kibana starts, a Default Space will be created if one does not already exist. The Default Space will contain all objects that are not currently assigned to any other space (i.e., objects created prior to Spaces being enabled, or objects created directly within the Default Space). To enable this, this PR also introduces the concept of Reserved Spaces, which is denoted by a `_reserved` property on the `space` object. Reserved Spaces: 1. Cannot be deleted 2. Cannot have their URL Context Changed This PR does not address: 1. Disabling the UI for reserved roles - this will be enabled via #19035 once this PR is merged into it.
Configuration menu - View commit details
-
Copy full SHA for 7db020e - Browse repository at this point
Copy the full SHA 7db020eView commit details
Commits on May 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 36e7a67 - Browse repository at this point
Copy the full SHA 36e7a67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06eb784 - Browse repository at this point
Copy the full SHA 06eb784View commit details
Commits on May 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 767fb27 - Browse repository at this point
Copy the full SHA 767fb27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 203ec3e - Browse repository at this point
Copy the full SHA 203ec3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d818cc6 - Browse repository at this point
Copy the full SHA d818cc6View commit details
Commits on May 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 813a816 - Browse repository at this point
Copy the full SHA 813a816View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66226d6 - Browse repository at this point
Copy the full SHA 66226d6View commit details
Commits on Jun 1, 2018
-
RBAC - SecurityAuditLogger (#19571)
* Manually porting over the AuditLogger for use within the security audit logger * HasPrivileges now returns the user from the request * Has privileges returns username from privilegeCheck * Adding first eventType to the security audit logger * Adding authorization success message * Logging arguments when authorization success * Fixing test description * Logging args during audit failures
Configuration menu - View commit details
-
Copy full SHA for d8d9810 - Browse repository at this point
Copy the full SHA d8d9810View commit details
Commits on Jun 4, 2018
-
RBAC Integration Tests (#19647)
* Porting over the saved objects tests, a bunch are failing, I believe because security is preventing the requests * Running saved objects tests with rbac and xsrf disabled * Adding users * BulkGet now tests under 3 users * Adding create tests * Adding delete tests * Adding find tests * Adding get tests * Adding bulkGet forbidden tests * Adding not a kibana user tests * Update tests * Renaming the actions/privileges to be closer to the functions on the saved object client itself * Cleaning up tests and removing without index tests I'm considering the without index tests to be out of scope for the RBAC API testing, and we already have unit coverage for these and integration coverage via the OSS Saved Objects API tests. * Fixing misspelling
Configuration menu - View commit details
-
Copy full SHA for 3e8e694 - Browse repository at this point
Copy the full SHA 3e8e694View commit details
Commits on Jun 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 74b8486 - Browse repository at this point
Copy the full SHA 74b8486View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1231c70 - Browse repository at this point
Copy the full SHA 1231c70View commit details
Commits on Jun 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 99d70b9 - Browse repository at this point
Copy the full SHA 99d70b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for db18d1e - Browse repository at this point
Copy the full SHA db18d1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d793056 - Browse repository at this point
Copy the full SHA d793056View commit details
Commits on Jun 7, 2018
-
SavedObjectClient.find filtering (#19708)
* Adding ability to specify filters when calling the repository * Implementing find filtering * Revert "Adding ability to specify filters when calling the repository" This reverts commit 9da30a1. * Adding integration tests for find filtering * Adding forbidden auth logging * Adding asserts to make sure some audit log isn't used * Adding more audit log specific tests * Necessarly is not a work, unfortunately * Fixing test * More descriptive name than "result" * Better unauthorized find message? * Adding getTypes tests
Configuration menu - View commit details
-
Copy full SHA for 7f2c9b0 - Browse repository at this point
Copy the full SHA 7f2c9b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6093bc - Browse repository at this point
Copy the full SHA b6093bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4abf5ed - Browse repository at this point
Copy the full SHA 4abf5edView commit details -
Configuration menu - View commit details
-
Copy full SHA for d951a20 - Browse repository at this point
Copy the full SHA d951a20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8920425 - Browse repository at this point
Copy the full SHA 8920425View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91d04e4 - Browse repository at this point
Copy the full SHA 91d04e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 430d72c - Browse repository at this point
Copy the full SHA 430d72cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7977f00 - Browse repository at this point
Copy the full SHA 7977f00View commit details -
[Spaces] - Reactify roles screen (#19035)
Redesigned Role Management screen using React and EUI
Configuration menu - View commit details
-
Copy full SHA for 4b52a1f - Browse repository at this point
Copy the full SHA 4b52a1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60d5917 - Browse repository at this point
Copy the full SHA 60d5917View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b3c6ba - Browse repository at this point
Copy the full SHA 4b3c6baView commit details
Commits on Jun 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 117b0d4 - Browse repository at this point
Copy the full SHA 117b0d4View commit details
Commits on Jun 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c42635b - Browse repository at this point
Copy the full SHA c42635bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e887076 - Browse repository at this point
Copy the full SHA e887076View commit details
Commits on Jun 13, 2018
-
[RBAC Phase 1] - Update application privileges when XPack license cha…
…nges (#19839) * Adding start to supporting basic license and switching to plat/gold * Initialize application privilages on XPack license change * restore mirror_status_and_initialize * additional tests and peer review updates * Introducing watchStatusAndLicenseToInitialize * Adding some tests * One more test * Even better tests * Removing unused mirrorStatusAndInitialize * Throwing an error if the wrong status function is called
Configuration menu - View commit details
-
Copy full SHA for a76e4a5 - Browse repository at this point
Copy the full SHA a76e4a5View commit details -
* Basic implementation, rather sloppy * Cleaning stuff up a bit * Beginning to write tests, going to refactor how we build the privileges * Making the buildPrivilegesMap no longer return application name as the main key * Using real privileges since we need to use them for the legacy fallback * Adding more tests * Fixing spelling * Fixing test description * Fixing comment description * Adding similar line breaks in the has privilege calls * No more settings * No more rbac enabled setting, we just do RBAC * Using describe to cleanup the test cases * Logging deprecations when using the legacy fallback * Cleaning up a bit... * Using the privilegeMap for the legacy fallback tests * Now with even less duplication * Removing stray `rbacEnabled` from angularjs
Configuration menu - View commit details
-
Copy full SHA for 7ef5850 - Browse repository at this point
Copy the full SHA 7ef5850View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9941eb2 - Browse repository at this point
Copy the full SHA 9941eb2View commit details
Commits on Jun 14, 2018
-
[Flaky Test] - wait for page load to complete (#19895)
@kobelb this seems unrelated to our RBAC Phase 1 work, but I was able to consistently reproduce this on my machine.
Configuration menu - View commit details
-
Copy full SHA for 8667ebd - Browse repository at this point
Copy the full SHA 8667ebdView commit details -
[Flaky Test] Fixes flaky role test (#19899)
Here's a fix for the latest flaky test @kobelb
Configuration menu - View commit details
-
Copy full SHA for b0e6998 - Browse repository at this point
Copy the full SHA b0e6998View commit details -
Configuration menu - View commit details
-
Copy full SHA for f11a97f - Browse repository at this point
Copy the full SHA f11a97fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9189918 - Browse repository at this point
Copy the full SHA 9189918View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dd4b3b - Browse repository at this point
Copy the full SHA 3dd4b3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84f4a8d - Browse repository at this point
Copy the full SHA 84f4a8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b464f03 - Browse repository at this point
Copy the full SHA b464f03View commit details -
Sample was including login/version privileges, which was occasionally (…
…#19915) causing issues that were really hard to replicate
Configuration menu - View commit details
-
Copy full SHA for e02c5bb - Browse repository at this point
Copy the full SHA e02c5bbView commit details
Commits on Jun 15, 2018
-
No more hard-coded types! This will make it so that plugins that register their own mappings just transparently work.
Configuration menu - View commit details
-
Copy full SHA for 9cdf641 - Browse repository at this point
Copy the full SHA 9cdf641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50411b4 - Browse repository at this point
Copy the full SHA 50411b4View commit details
Commits on Jun 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a53e7d0 - Browse repository at this point
Copy the full SHA a53e7d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 472ae28 - Browse repository at this point
Copy the full SHA 472ae28View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d2514 - Browse repository at this point
Copy the full SHA b7d2514View commit details
Commits on Jun 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1bc85f9 - Browse repository at this point
Copy the full SHA 1bc85f9View commit details
Commits on Jun 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e11d86b - Browse repository at this point
Copy the full SHA e11d86bView commit details -
Fix RBAC Phase 1 merge from master (#20226)
This updates RBAC Phase 1 to work against the latest master. Specifically: 1. Removes `xpack_main`'s `registerLicenseChangeCallback`, which we introduced in `security-app-privs`, in favor of `onLicenseInfoChange`, which was recently added to master 2. Updated `x-pack/plugins/security/server/lib/watch_status_and_license_to_initialize.js` to be compliant with rxjs v6
Configuration menu - View commit details
-
Copy full SHA for f875cec - Browse repository at this point
Copy the full SHA f875cecView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6d4466 - Browse repository at this point
Copy the full SHA f6d4466View commit details
Commits on Jun 27, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c899985 - Browse repository at this point
Copy the full SHA c899985View commit details
Commits on Jun 28, 2018
-
Retrying initialize 20 times with a scaling backoff (#20297)
* Retrying initialize 20 times with a scaling backoff * Logging error when we are registering the privileges
Configuration menu - View commit details
-
Copy full SHA for be6445c - Browse repository at this point
Copy the full SHA be6445cView commit details
Commits on Jun 29, 2018
-
Alternate legacy fallback (#20322)
* Beginning to use alternate callWithRequest fallback * Only use legacy fallback when user has "some" privileges on index * Logging useLegacyFallback when there's an authorization failure * Adding tests, logging failure during find no types fallback * Switching to using an enum instead of success/useLegacyFallback * Using _execute to share some of the structure * Moving comment to where it belongs * No longer audit logging when we use the legacy fallback
Configuration menu - View commit details
-
Copy full SHA for e3c1a99 - Browse repository at this point
Copy the full SHA e3c1a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2cc325 - Browse repository at this point
Copy the full SHA a2cc325View commit details
Commits on Jul 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b8a110b - Browse repository at this point
Copy the full SHA b8a110bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8696030 - Browse repository at this point
Copy the full SHA 8696030View commit details -
Configuration menu - View commit details
-
Copy full SHA for a56af65 - Browse repository at this point
Copy the full SHA a56af65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19a7d6f - Browse repository at this point
Copy the full SHA 19a7d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33a153d - Browse repository at this point
Copy the full SHA 33a153dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d8745f - Browse repository at this point
Copy the full SHA 5d8745fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1689f7 - Browse repository at this point
Copy the full SHA c1689f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7ae3e8 - Browse repository at this point
Copy the full SHA c7ae3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03f7931 - Browse repository at this point
Copy the full SHA 03f7931View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98acdc0 - Browse repository at this point
Copy the full SHA 98acdc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a95af3 - Browse repository at this point
Copy the full SHA 3a95af3View commit details
Commits on Jul 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 3299a0a - Browse repository at this point
Copy the full SHA 3299a0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6942034 - Browse repository at this point
Copy the full SHA 6942034View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19ddaea - Browse repository at this point
Copy the full SHA 19ddaeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b59be01 - Browse repository at this point
Copy the full SHA b59be01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f48041 - Browse repository at this point
Copy the full SHA 1f48041View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e72a63 - Browse repository at this point
Copy the full SHA 6e72a63View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1720af - Browse repository at this point
Copy the full SHA a1720afView commit details
Commits on Jul 6, 2018
-
Logging legacy fallback deprecation warning on login (#20493)
* Logging legacy fallback deprecation on login * Consolidation the privileges/authorization folder * Exposing rudimentary authorization service and fixing authenticate tests * Moving authorization services configuration to initAuthorization * Adding "actions" service exposed by the authorization * Fixing misspelling * Removing invalid and unused exports * Adding note about only adding privileges * Calling it initAuthorizationService * Throwing explicit validation error in actions.getSavedObjectAction * Deep freezing authorization service * Adding deepFreeze tests * Checking privileges in one call and cleaning up tests
Configuration menu - View commit details
-
Copy full SHA for 98ea1b5 - Browse repository at this point
Copy the full SHA 98ea1b5View commit details
Commits on Jul 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 3c87234 - Browse repository at this point
Copy the full SHA 3c87234View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2b4ccf - Browse repository at this point
Copy the full SHA a2b4ccfView commit details
Commits on Jul 10, 2018
-
Deriving application from Kibana index (#20614)
* Specifying the application on the "authorization service" * Moving watchStatusAndLicenseToInitialize to be below initAuthorizationService * Using short-hand propery assignment
Configuration menu - View commit details
-
Copy full SHA for 7cef606 - Browse repository at this point
Copy the full SHA 7cef606View commit details
Commits on Jul 12, 2018
-
Validate ES has_privileges response before trusting it (#20682)
* validate elasticsearch has_privileges response before trusting it * address feedback
Configuration menu - View commit details
-
Copy full SHA for fb724d2 - Browse repository at this point
Copy the full SHA fb724d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c65908b - Browse repository at this point
Copy the full SHA c65908bView commit details
Commits on Jul 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 3e6c057 - Browse repository at this point
Copy the full SHA 3e6c057View commit details -
* Beginning to work on external role management APIs * Refactoring GET tests and adding more permutations * Adding test for excluding other resources * Adding get role tests * Splitting out the endpoints, or else it's gonna get overwhelming * Splitting out the post and delete actions * Beginning to work on POST and the tests * Posting the updated role * Adding update tests * Modifying the UI to use the new public APIs * Removing internal roles API * Moving the rbac api integration setup tests to use the public role apis * Testing field_security and query * Adding create role tests * We can't update the transient_metadata... * Removing debugger * Update and delete tests * Returning a 204 when POSTing a Role. * Switching POST to PUT and roles to role * We don't need the rbacApplication client-side anymore * Adding delete route tests * Using not found instead of not acceptable, as that's more likely * Only allowing us to PUT known Kibana privileges * Removing transient_metadata * Removing one letter variable names * Using PUT instead of POST when saving roles * Fixing broken tests
Configuration menu - View commit details
-
Copy full SHA for a597976 - Browse repository at this point
Copy the full SHA a597976View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36f4b2f - Browse repository at this point
Copy the full SHA 36f4b2fView commit details
Commits on Jul 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1330efd - Browse repository at this point
Copy the full SHA 1330efdView commit details
Commits on Jul 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6fb21ee - Browse repository at this point
Copy the full SHA 6fb21eeView commit details
Commits on Jul 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6fa01f1 - Browse repository at this point
Copy the full SHA 6fa01f1View commit details -
[Spaces] - Update Roles screen to use public API (#21031)
This PR updates the new Role Management screen to use the public role API introduced as part of #20732. Additionally, this updates the breadcrumb nav for Spaces and Role management screens to be consistent with the nav introduced in #20739. There are a couple of visual glitches in this PR which are a result of current defects on master, so they can be safely ignored for the time being.
Configuration menu - View commit details
-
Copy full SHA for b6d9ec2 - Browse repository at this point
Copy the full SHA b6d9ec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91350bf - Browse repository at this point
Copy the full SHA 91350bfView commit details
Commits on Jul 23, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f1fdf2b - Browse repository at this point
Copy the full SHA f1fdf2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe9e7fe - Browse repository at this point
Copy the full SHA fe9e7feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88b51da - Browse repository at this point
Copy the full SHA 88b51daView commit details
Commits on Jul 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0e898e5 - Browse repository at this point
Copy the full SHA 0e898e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d8b9b9 - Browse repository at this point
Copy the full SHA 3d8b9b9View commit details
Commits on Jul 26, 2018
-
[Spaces] Space-Aware Saved Objects (#18862)
**This is an updated description that incorperates some of the discussions below** This PR introduces changes which allow the Spaces plugin to make saved objects "space aware". Effectively, this means wrapping the Saved Objects Client to alter or filter requests/responses. **Note** Advanced UI Settings (i.e., saved objects of type `config`) are not in scope for this PR, and will be addressed separately. ### Terminology: - SOC: Saved Objects Client ## Saved Objects Client ### `get` The response from the base SOC is checked to see if the object belongs to the current space. If not, a 404 is thrown to indicate the object does not exist. ### `bulk_get` The response from the base SOC is checked to see if each object belongs to the current space. For each object that does not belong, its contents are replaced with a 404 response, which looks identical to the base SOC's 404 response for a missing object. ### `create` The `spaceId` is appended to the create request, so the base SOC will write the new object into the correct space. ### `bulk_create` The `spaceId` is appended to each space-aware object in the request, so the base SOC will write the new objects into the correct space. ### `update` Before allowing an update to be processed by the base SOC, we check to ensure that it belongs to the current space. If not, a 404 is thrown. We also ensure that the `spaceId` is not changed as a result of an update. ### `delete` Before allowing a delete to be processed by the base SOC, we check to ensure that it belongs to the current space. If not, a 404 is thrown. ### `find` Searching is arguably the most complex case for this PR, and is responsible for a bulk of the LOC (other than tests). When performing a find, we augment the ES query to ensure that each object belongs to the current space. ## * Belonging to the current space To figure out if an object belongs to the current space, the following check is performed: ### 1. Is the object's type space-aware? Most saved object types are space-aware. There are a couple of exceptions as of this PR: space and config. If the type is not space-aware, then ✅ this object belongs to the current space. This implies that objects that are not space aware belong to every space. If the type is space-aware, then processing continues to step 2 ### 2. Check the object's `spaceId` Each saved object may have a `spaceId` assigned. This `spaceId` is compared against the `spaceId` that the user's request is executed within. If they match, then the object belongs to the current space. **caveat** The Default Space is a special-case space that does not assign a `spaceId` to its underlying objects. This is done to maintain backwards compatibility, and makes bootstrapping Spaces much easier for upgrading installations. Given this, there is logic in place which accounts for this special-case. The most interesting example is when we build the query for the SOC's `find` operation. Rather than checking that the object has a particular `spaceId`, we have to check that the object does not have a `spaceId` assigned.
Configuration menu - View commit details
-
Copy full SHA for 252e407 - Browse repository at this point
Copy the full SHA 252e407View commit details
Commits on Jul 27, 2018
-
[Spaces] - Introducing Space Identifier, Forgetting URL Context (#21295)
From the end-user perspective, this is a simple rebranding of the URL Context. Internally, the space identifier is now used to represent both the url path of the space, as well as that space's document id in the kibana index. This provides the following benefits: 1) Eliminates the need to query ES to determine the active space id. 2) Prevents two spaces from sharing the same url path, which we had to manually check for in the past 3) Simplifies using the role management API As an added bonus, the Space Description is now optional 🎉
Configuration menu - View commit details
-
Copy full SHA for e526f5b - Browse repository at this point
Copy the full SHA e526f5bView commit details
Commits on Jul 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c1ce140 - Browse repository at this point
Copy the full SHA c1ce140View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3159a15 - Browse repository at this point
Copy the full SHA 3159a15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 200725c - Browse repository at this point
Copy the full SHA 200725cView commit details
Commits on Jul 31, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 70e8c76 - Browse repository at this point
Copy the full SHA 70e8c76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a9b027 - Browse repository at this point
Copy the full SHA 0a9b027View commit details
Commits on Aug 1, 2018
-
[Spaces] - prepend space id to document id (#21372)
Saved Objects that are space-aware will have their space id appended to their document id. This is similar to how each object's type is part of their document id. Objects that are not space-aware do not have their space id appended. Objects that exist in the default space do not have their space id appended. This maintains backward compatibility. ### Motivation Appending the space id greatly simplifies space-aware advanced settings, and it also simplifies importing/exporting objects between different spaces (by avoiding id conflicts). ### Tradeoffs Once objects exist in a user-created space (i.e., not the default space), then the Spaces plugin should not be removed or disabled from the Kibana installation.
Configuration menu - View commit details
-
Copy full SHA for 69ab612 - Browse repository at this point
Copy the full SHA 69ab612View commit details
Commits on Aug 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0761b0a - Browse repository at this point
Copy the full SHA 0761b0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f618f1a - Browse repository at this point
Copy the full SHA f618f1aView commit details
Commits on Aug 16, 2018
-
[Spaces] move Spaces management into Kibana section (#21665)
This moves the spaces management link into the Kibana section, rather than a dedicated Spaces section
Configuration menu - View commit details
-
Copy full SHA for efb8f06 - Browse repository at this point
Copy the full SHA efb8f06View commit details -
[Spaces] - Reporting updates (#21457)
@kobelb -- this PR in its current state is just enough to get the reporting API tests passing again. This doesn't account for space-awareness, and I'll need to pick your brain as to how to do that for reporting, but I figured that would be better addressed when we tackle space-aware advanced settings (it appears that reporting is only using the SOC via the UISettingsService below)
Configuration menu - View commit details
-
Copy full SHA for 0dd9ccd - Browse repository at this point
Copy the full SHA 0dd9ccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7734701 - Browse repository at this point
Copy the full SHA 7734701View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71144f8 - Browse repository at this point
Copy the full SHA 71144f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 649974a - Browse repository at this point
Copy the full SHA 649974aView commit details -
[Spaces] Replace Space Selector modal with a less intrusive popover (#…
…19497) This replaces the existing Modal with a smaller Popover which is less intrusive. The popover also features a search bar for finding the desired Space when there are 8 or more Spaces to choose from. ### Details When there are less than 8 spaces available, the selector will render a simple list of spaces. When there are >= 8 spaces available, the selector will also render a search bar to let users search for their space. ### Prerequisites - [x] Merge #18862 into `spaces-phase-1` ### Known Issues - elastic/eui#1043 (fixed in `v3.2.0`) - elastic/eui#1052 (fixed in `v3.2.1`) - Missing typdefs (not a blocker to merge): elastic/eui#1120
Configuration menu - View commit details
-
Copy full SHA for 69fe9a7 - Browse repository at this point
Copy the full SHA 69fe9a7View commit details
Commits on Aug 17, 2018
-
Updating the Role API to work better spaces (#22080)
* Moving global privileges to it's new designated location * Adjusting get to be new structure * Updating PUT * Updating UI to work with the new API
Configuration menu - View commit details
-
Copy full SHA for e9ee8f8 - Browse repository at this point
Copy the full SHA e9ee8f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72a1526 - Browse repository at this point
Copy the full SHA 72a1526View commit details
Commits on Aug 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0be2613 - Browse repository at this point
Copy the full SHA 0be2613View commit details
Commits on Aug 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for ffb682e - Browse repository at this point
Copy the full SHA ffb682eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f2eb00 - Browse repository at this point
Copy the full SHA 4f2eb00View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfd3746 - Browse repository at this point
Copy the full SHA bfd3746View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c42a68 - Browse repository at this point
Copy the full SHA 8c42a68View commit details
Commits on Aug 27, 2018
-
[Spaces] - Space aware privileges UI (#21049)
This PR includes enhancements to the Role Management screen to allow users to specify Kibana Privileges on a per-space level. This PR does not include changes to *enforce* space-aware privileges; this only includes the UI/API changes necessary to support editing a role's privileges.
Configuration menu - View commit details
-
Copy full SHA for 2f08590 - Browse repository at this point
Copy the full SHA 2f08590View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ecf9e7 - Browse repository at this point
Copy the full SHA 0ecf9e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f2c92 - Browse repository at this point
Copy the full SHA e4f2c92View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5288dd - Browse repository at this point
Copy the full SHA d5288ddView commit details
Commits on Aug 29, 2018
-
[Spaces] - Support "Recently viewed" widget (#22492)
[skip ci] This PR makes the "Recently viewed" widget on the Kibana home page space-aware. The widget will only show saved objects that were viewed within the user's current space. This is accomplished by changing the way the `RecentlyAccessed` module creates its `PersistedLog`. Previously, the `PersistedLog` was using a hard-coded key, but now it is deriving its key based off of the current `basePath`, which contains the space identifier. I chose this approach because this code lies completely within OSS Kibana, and I did not want to make this module aware of the Spaces plugin. Spaces augments the `basePath` in order to function and construct space-aware links within the UI, so this ends up being transparent to consumers of `chrome.getBasePath` You'll notice that the `PersistedLog` key is partially hashed. We do this because we don't want the browser to store information about which spaces a particular user may or may not have access to (see this [earlier conversation](#19417 (comment))) ### Important Installations that have a configured `basePath` other than the default `''` will have their "Recently viewed" list cleared after upgrading to 6.5, because the basePath will become part of the `localStorage` key, when it previously wasn't. While this may _technically_ be a breaking change, I'm hoping this will be acceptable. Fixes #21961
Configuration menu - View commit details
-
Copy full SHA for 29c7b8a - Browse repository at this point
Copy the full SHA 29c7b8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 156718a - Browse repository at this point
Copy the full SHA 156718aView commit details
Commits on Aug 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2c50a9f - Browse repository at this point
Copy the full SHA 2c50a9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70f615b - Browse repository at this point
Copy the full SHA 70f615bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e04dfd2 - Browse repository at this point
Copy the full SHA e04dfd2View commit details
Commits on Sep 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 3e1c1fa - Browse repository at this point
Copy the full SHA 3e1c1faView commit details -
[Spaces] - basic telemetry (#20581)
Introduces basic telemetry for Spaces. Implementation inspired by Reporting's telemetry collector. Reports the following: `available`: Indicates of the current license allows for Spaces `enabled`: Indicates if Spaces is enabled (also implies it is available) `count`: The number of Spaces this installation has configured Fixes #19260
Configuration menu - View commit details
-
Copy full SHA for 278f7b8 - Browse repository at this point
Copy the full SHA 278f7b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fcfd4e - Browse repository at this point
Copy the full SHA 1fcfd4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1544b38 - Browse repository at this point
Copy the full SHA 1544b38View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4ebd0b - Browse repository at this point
Copy the full SHA e4ebd0bView commit details -
Saved Object Namespaces (#22357)
* Adding a namespace * Allowing the saved objects client wrappers to specify the namespace * Moving namespace agnosticism to OSS * Fixing rbac tests, spaces can be managed with the SOC temporarily * Putting trimIdPrefix back to it's original name * Removing unused code and debug statements * Fixing some jsdocs * Removing unused type parameter * Another stray console.log... * Fixing repository provider test * Fixing repository tests * No longer exposing the namespace in get and bulkGet * Fixing SavedObjectClient tests, using more Symbols... It ends up that two different instances of {} are considered to be equal by jest's .toHaveBeenCalledWith, so for these white-box tests we're just using Symbols... * Fixing getSearchDsl tests * Removing filters, we don't use them anymore * Fixing query param tests * Adding Schema tests * Fixing secure saved objects client test * Namespaces via options * Removing duplicate test * Removing spaceId from mappings * Fixing test * Registering the namespace agnostic types using uiExports * Even better schema
Configuration menu - View commit details
-
Copy full SHA for 8b77134 - Browse repository at this point
Copy the full SHA 8b77134View commit details
Commits on Sep 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a226521 - Browse repository at this point
Copy the full SHA a226521View commit details -
Configuration menu - View commit details
-
Copy full SHA for 896a89c - Browse repository at this point
Copy the full SHA 896a89cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 125cc36 - Browse repository at this point
Copy the full SHA 125cc36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81096fd - Browse repository at this point
Copy the full SHA 81096fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec71883 - Browse repository at this point
Copy the full SHA ec71883View commit details -
Configuration menu - View commit details
-
Copy full SHA for 557bbcd - Browse repository at this point
Copy the full SHA 557bbcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6c5f11 - Browse repository at this point
Copy the full SHA b6c5f11View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce6bd30 - Browse repository at this point
Copy the full SHA ce6bd30View commit details -
Configuration menu - View commit details
-
Copy full SHA for df74a82 - Browse repository at this point
Copy the full SHA df74a82View commit details
Commits on Sep 7, 2018
-
[Spaces] - Handle space renaming and deleting (#22586)
[skip ci] This PR improves the Space management experience when updating or deleting the user's active space. 1) When a user updates the space they are currently in, the Space Avatar in the Kibana nav will automatically update to match after saving. Fixes #22537 (cc @alexfrancoeur) 2) When a user **deletes** the space they are currently in, a secondary confirmation modal is displayed, warning them that they are deleting their active space, and they will be redirected to select another space: ![test](https://user-images.githubusercontent.com/3493255/44916585-22caf180-ad04-11e8-87c1-24538d2d6c2a.gif)
Configuration menu - View commit details
-
Copy full SHA for 06ee993 - Browse repository at this point
Copy the full SHA 06ee993View commit details
Commits on Sep 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for bf6dd35 - Browse repository at this point
Copy the full SHA bf6dd35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d0b1ed - Browse repository at this point
Copy the full SHA 2d0b1edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 493b3df - Browse repository at this point
Copy the full SHA 493b3dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 778f69f - Browse repository at this point
Copy the full SHA 778f69fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a76bfe - Browse repository at this point
Copy the full SHA 1a76bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c13b0e - Browse repository at this point
Copy the full SHA 2c13b0eView commit details
Commits on Sep 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a582cb1 - Browse repository at this point
Copy the full SHA a582cb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for eac1f4c - Browse repository at this point
Copy the full SHA eac1f4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9542a6 - Browse repository at this point
Copy the full SHA e9542a6View commit details
Commits on Sep 12, 2018
-
[WIP] Securing Spaces (#21995)
* Splitting to a client and a wrapper, integation tests are passing without spaces * Adding the spaces wrapper back in the mix using a priority collection * Restructuring the secure wrapper as we don't need to switch between repositories * Checking authorization at the current space * Beginning to make the rbac api integration tests run against spaces * Adding identical data to the rbac esArchives for two more spaces * Adding some space tests for find * Beginning to work on the spaces client * Fixing find and filtering out unrequested privileges from response * Adding get code and test * Introducing an RBAC Auth Scope * Exposing the spacesClient a bit better * Moving the server.expose to the security plugin init * Moving checkPrivilegesAtAllResources to it's own thing * No longer using the auth scope for RBAC, dashboard mode didn't work with it * Securing the create space method * Adding secure update method * Adding secured delete endpoints * Restructuring some code in the spaces client * Adding tests for the select endpoint * Spaces can't be managed via the SavedObjectsClient now * Creating separate space_all and space_read privileges * Splitting out the spaces and global privileges * Fixing edit role screen after API changes * Revising comment, there is a Set in JavaScript now, but lodash can't equal them * Using authorization mode to log deprecation warning on login * Changing the signature of checkPrivileges We're now using the legacy fallback when there are no application privileges. This improves performance at the sake of legacy 403s being displayed to users who have no application privileges. * Refactoring the way we specify resources when checking privileges * Exposing the space service more intuitively * Fixing comments * Security defines all actions * Renaming `response` returned by the checkPrivileges function * Hard-coding the kibana app privileges teporarily * Adding Authenticator authorization mode tests * Adding actions.manageSpaces tests * Adding check privileges tests * Fixing checkPrivileges test snapshots * Making sure tests fail until I correct this deficiency * Adding stubbed out authorization mode tests * Fixing tests for RegisterPrivilegesWithCluster * Fixing service AuthorizationService tests * Addinng serializer tests * Adding validateEsResponse tests * We don't need the SecureSavedObjectsClient anymore! * Adding SecureSavedObjectsClientWrapper tests... * Fixing a few stray tests * Fixing issue when user isn't authenticated and check useRbacForRequest * Validating spaces we're adding to roles * Reusing hasAnyPrivileges from hasAnyResourcePrivileges * Better variable name * toArray -> toPrioritizedArray * Using Space throughout the SpacesClient * GetActiveSpace uses the SpacesClient now * Squashed commit of the following: commit 23515b1 Author: kobelb <brandon.kobel@elastic.co> Date: Mon Sep 10 06:57:58 2018 -0400 Adding more users to the spaces tests commit 4bbde73 Author: kobelb <brandon.kobel@elastic.co> Date: Mon Sep 10 06:09:35 2018 -0400 Adding not space aware get tests commit 5d11bef Author: kobelb <brandon.kobel@elastic.co> Date: Sat Sep 8 14:06:20 2018 -0400 Adding not space aware test to find commit f9383fd Author: kobelb <brandon.kobel@elastic.co> Date: Sat Sep 8 13:49:04 2018 -0400 Adding bulk create tests and testing non space aware type with bulkGet commit 5388b5a Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 16:18:04 2018 -0400 Adding bulk create test commit 0674263 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 15:58:21 2018 -0400 Ignoring some modules commit 6b011d3 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 15:55:58 2018 -0400 Making the users match for saved objects security and spaces commit de2f994 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 14:18:53 2018 -0400 Making the space suites define their own test expectations commit 5407866 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 13:15:46 2018 -0400 Removing redundant spaces folder commit 9913923 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 13:14:45 2018 -0400 Removing unneeded objects from the esarchive commit bc602b1 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 13:08:12 2018 -0400 Moving some tests around commit 7fec308 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 12:38:23 2018 -0400 Deleting rbac_api_integration tests, they've been migrated elsewhere commit 29c018e Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 10:01:16 2018 -0400 Importing SuperTest where needed commit 38d2e74 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 08:44:53 2018 -0400 Removing the "saved_objects" folder commit 70eada4 Merge: 1b2708f 9023431 Author: Brandon Kobel <brandon.kobel@gmail.com> Date: Fri Sep 7 10:04:03 2018 -0400 Merge pull request #4 from legrego/spaces-api-tests Initial round of spaces api testing commit 9023431 Merge: 6410f72 1b2708f Author: Larry Gregory <larry.gregory@elastic.co> Date: Fri Sep 7 09:37:57 2018 -0400 Merge remote-tracking branch 'kobelb/spaces/securing-api-tests' into spaces-api-tests commit 1b2708f Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 08:17:25 2018 -0400 Even more typescript commit 369a429 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 08:08:28 2018 -0400 Typescriptifying Get commit f53f2ab Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 08:01:48 2018 -0400 Typescriptifying Find commit f707e03 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 07:55:10 2018 -0400 Typescriptifying Create commit 485d983 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 07:31:54 2018 -0400 Changing the namespace agnostic type name commit 71c2122 Author: kobelb <brandon.kobel@elastic.co> Date: Fri Sep 7 07:25:15 2018 -0400 Adding update tests commit f60e953 Author: kobelb <brandon.kobel@elastic.co> Date: Thu Sep 6 15:53:34 2018 -0400 Delete tests commit 94682e5 Author: kobelb <brandon.kobel@elastic.co> Date: Thu Sep 6 12:07:39 2018 -0400 Adding get security and spaces tests commit 481943f Author: kobelb <brandon.kobel@elastic.co> Date: Thu Sep 6 11:58:42 2018 -0400 Generalizing bulk get commit 14d9058 Merge: 6627127 fc5f7fa Author: Brandon Kobel <brandon.kobel@gmail.com> Date: Thu Sep 6 10:46:07 2018 -0400 Merge pull request #3 from legrego/remove-privs-api Remove privs api and hardcoded privs list commit 6410f72 Author: Larry Gregory <larry.gregory@elastic.co> Date: Thu Sep 6 09:35:30 2018 -0400 add missing superagent type commit 4afacc0 Author: Larry Gregory <larry.gregory@elastic.co> Date: Wed Sep 5 20:19:15 2018 -0400 initial round of spaces api testing commit 6627127 Author: kobelb <brandon.kobel@elastic.co> Date: Wed Sep 5 17:29:37 2018 -0400 Adding GET test suite commit 68a5537 Author: kobelb <brandon.kobel@elastic.co> Date: Wed Sep 5 13:32:49 2018 -0400 Copying find to security and spaces commit fc5f7fa Author: Larry Gregory <larry.gregory@elastic.co> Date: Wed Sep 5 12:36:30 2018 -0400 move es privilege tests to api_integration commit 189fbe6 Author: kobelb <brandon.kobel@elastic.co> Date: Wed Sep 5 12:24:41 2018 -0400 Switching approach to dynamically enabling security commit c72200f Author: Larry Gregory <larry.gregory@elastic.co> Date: Wed Sep 5 11:57:26 2018 -0400 remove get privileges api commit 1607f80 Author: kobelb <brandon.kobel@elastic.co> Date: Wed Sep 5 11:47:19 2018 -0400 Dynamically supplying users so we reduce some duplication commit 9deec1b Author: kobelb <brandon.kobel@elastic.co> Date: Wed Sep 5 09:32:36 2018 -0400 Security and Spaces create tests commit a8232dd Author: kobelb <brandon.kobel@elastic.co> Date: Wed Sep 5 07:22:10 2018 -0400 Using a create "test suite" commit f07f668 Author: kobelb <brandon.kobel@elastic.co> Date: Wed Sep 5 05:54:46 2018 -0400 Using the spaces esArchive always now commit b2021ad Merge: d3babea 7b4575b Author: kobelb <brandon.kobel@elastic.co> Date: Wed Sep 5 05:43:48 2018 -0400 Merge branch 'spaces/securing' into spaces/securing-api-tests commit d3babea Author: kobelb <brandon.kobel@elastic.co> Date: Tue Sep 4 17:43:38 2018 -0400 Moving over the spaces only saved objects tests commit 94054a2 Author: kobelb <brandon.kobel@elastic.co> Date: Tue Sep 4 17:26:43 2018 -0400 Copying over the security only saved object api tests * update public api to use SpacesClient * fix * test and api fixes * fix tests * Disallowing use of Spaces with the SpacesSavedObjectsClientWrapper * Adding spaces audit logging * Updating snapshots * Adding get and getAll tests for the spaces client * Adding update tests * Adding create tests * Adding SpacesClient delete tests * Fixing authenticate tests * Making tests more consistent * Fixing kibana privileges tests * Fixing a few type issues * Making typescript ignore the .only test suites * Switching to beforeEach and afterEach and removing the mocha types * Switching to our own expect.js definitions The definitions in @types/expect have expect being globally defined which conflicts with the jest definitions, and expect isn't globally defined in the mocha tests and we must use the module value * Fixing more linting rules * Removing test stubs and replacing with TODOs. Updating snapshots * No longer shadowing application for the put role API * Relying on the errors thrown by the SpacedClient when determining active space * Back to after/before... mocha doesn't have beforeAll/afterAll * We got them types, thanks Spencer!!! * Ignoring space type from the secure saved objects client find with no type
Configuration menu - View commit details
-
Copy full SHA for b90b30f - Browse repository at this point
Copy the full SHA b90b30fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07919a7 - Browse repository at this point
Copy the full SHA 07919a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9095b6 - Browse repository at this point
Copy the full SHA d9095b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e17ef32 - Browse repository at this point
Copy the full SHA e17ef32View commit details -
Configuration menu - View commit details
-
Copy full SHA for a665a5e - Browse repository at this point
Copy the full SHA a665a5eView commit details
Commits on Sep 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5ed4427 - Browse repository at this point
Copy the full SHA 5ed4427View commit details -
Configuration menu - View commit details
-
Copy full SHA for feef8b7 - Browse repository at this point
Copy the full SHA feef8b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01f3cf1 - Browse repository at this point
Copy the full SHA 01f3cf1View commit details
Commits on Sep 14, 2018
-
[Spaces] - code cleanup (#22802)
* finishes TS conversion for the Spaces plugin
Configuration menu - View commit details
-
Copy full SHA for 79bff57 - Browse repository at this point
Copy the full SHA 79bff57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cebf38 - Browse repository at this point
Copy the full SHA 6cebf38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68829be - Browse repository at this point
Copy the full SHA 68829beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70641d5 - Browse repository at this point
Copy the full SHA 70641d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3874fee - Browse repository at this point
Copy the full SHA 3874feeView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb36356 - Browse repository at this point
Copy the full SHA eb36356View commit details -
Configuration menu - View commit details
-
Copy full SHA for accbe4f - Browse repository at this point
Copy the full SHA accbe4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 703d90d - Browse repository at this point
Copy the full SHA 703d90dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc07717 - Browse repository at this point
Copy the full SHA fc07717View commit details
Commits on Sep 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 49ea334 - Browse repository at this point
Copy the full SHA 49ea334View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29686c6 - Browse repository at this point
Copy the full SHA 29686c6View commit details
Commits on Sep 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9dd36d3 - Browse repository at this point
Copy the full SHA 9dd36d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4544c7a - Browse repository at this point
Copy the full SHA 4544c7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3b3168 - Browse repository at this point
Copy the full SHA a3b3168View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04ed13d - Browse repository at this point
Copy the full SHA 04ed13dView commit details
Commits on Sep 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for d406c61 - Browse repository at this point
Copy the full SHA d406c61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b87f0a - Browse repository at this point
Copy the full SHA 7b87f0aView commit details
Commits on Sep 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f2a2f46 - Browse repository at this point
Copy the full SHA f2a2f46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c314f5 - Browse repository at this point
Copy the full SHA 8c314f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93c6b79 - Browse repository at this point
Copy the full SHA 93c6b79View commit details -
Merge branch 'saved-object-namespaces-with-migrations' into spaces-ph…
…ase-1-namespaces
Configuration menu - View commit details
-
Copy full SHA for be44857 - Browse repository at this point
Copy the full SHA be44857View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba43a69 - Browse repository at this point
Copy the full SHA ba43a69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 954d9df - Browse repository at this point
Copy the full SHA 954d9dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a293000 - Browse repository at this point
Copy the full SHA a293000View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86edf75 - Browse repository at this point
Copy the full SHA 86edf75View commit details -
Configuration menu - View commit details
-
Copy full SHA for f54a294 - Browse repository at this point
Copy the full SHA f54a294View commit details -
Merge remote-tracking branch 'upstream/master' into saved-object-name…
…spaces-with-migrations
Configuration menu - View commit details
-
Copy full SHA for 40eeab6 - Browse repository at this point
Copy the full SHA 40eeab6View commit details -
Merge branch 'saved-object-namespaces-with-migrations' into spaces-ph…
…ase-1-namespaces
Configuration menu - View commit details
-
Copy full SHA for 9d3b199 - Browse repository at this point
Copy the full SHA 9d3b199View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cbd703 - Browse repository at this point
Copy the full SHA 1cbd703View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d44eb - Browse repository at this point
Copy the full SHA 78d44ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e20cda - Browse repository at this point
Copy the full SHA 3e20cdaView commit details -
Merge branch 'saved-object-namespaces-with-migrations' into spaces-ph…
…ase-1-namespaces
Configuration menu - View commit details
-
Copy full SHA for 2b46bf9 - Browse repository at this point
Copy the full SHA 2b46bf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1350708 - Browse repository at this point
Copy the full SHA 1350708View commit details -
Configuration menu - View commit details
-
Copy full SHA for d892566 - Browse repository at this point
Copy the full SHA d892566View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05f3465 - Browse repository at this point
Copy the full SHA 05f3465View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c3b481 - Browse repository at this point
Copy the full SHA 1c3b481View commit details -
Merge branch 'saved-object-namespaces-with-migrations' into spaces-ph…
…ase-1-namespaces
Configuration menu - View commit details
-
Copy full SHA for cf9a50a - Browse repository at this point
Copy the full SHA cf9a50aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b115ad - Browse repository at this point
Copy the full SHA 3b115adView commit details
Commits on Sep 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1d8b2c5 - Browse repository at this point
Copy the full SHA 1d8b2c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 493f899 - Browse repository at this point
Copy the full SHA 493f899View commit details -
Merge branch 'saved-object-namespaces-with-migrations' into spaces-ph…
…ase-1-namespaces
Configuration menu - View commit details
-
Copy full SHA for debb061 - Browse repository at this point
Copy the full SHA debb061View commit details -
[Spaces] - Suppress conflict errors when creating the default space (#…
…23390) [skip ci] The Kibana server automatically creates the default space on startup. Before attempting to create, it checks to see if the default space already exists. If it exists, then Kibana won't proceed. If it doesn't exist, then it will attempt to create it. Given the async non-atomic nature of this operation, there are no guarantees that a subsequent invocation won't also try to create the default space. In this scenario, we were logging a superfluous conflict error. This PR suppresses the conflict error while allowing all other errors to be thrown.
Configuration menu - View commit details
-
Copy full SHA for 33d871b - Browse repository at this point
Copy the full SHA 33d871bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6d4f0 - Browse repository at this point
Copy the full SHA 0a6d4f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06d13c9 - Browse repository at this point
Copy the full SHA 06d13c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41992d3 - Browse repository at this point
Copy the full SHA 41992d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04efc88 - Browse repository at this point
Copy the full SHA 04efc88View commit details
Commits on Sep 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 88aad1d - Browse repository at this point
Copy the full SHA 88aad1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6777c8c - Browse repository at this point
Copy the full SHA 6777c8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcac182 - Browse repository at this point
Copy the full SHA bcac182View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4673d51 - Browse repository at this point
Copy the full SHA 4673d51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c1e8c0 - Browse repository at this point
Copy the full SHA 7c1e8c0View commit details
Commits on Sep 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8873643 - Browse repository at this point
Copy the full SHA 8873643View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f49d05 - Browse repository at this point
Copy the full SHA 7f49d05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3832255 - Browse repository at this point
Copy the full SHA 3832255View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18ca584 - Browse repository at this point
Copy the full SHA 18ca584View commit details
Commits on Sep 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 32bd036 - Browse repository at this point
Copy the full SHA 32bd036View commit details -
Configuration menu - View commit details
-
Copy full SHA for fec5a16 - Browse repository at this point
Copy the full SHA fec5a16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e71247 - Browse repository at this point
Copy the full SHA 4e71247View commit details
Commits on Sep 27, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0c3c099 - Browse repository at this point
Copy the full SHA 0c3c099View commit details
Commits on Sep 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e7dd8bf - Browse repository at this point
Copy the full SHA e7dd8bfView commit details