Skip to content
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

Merged
merged 232 commits into from
Oct 1, 2018
Merged

Spaces Phase 1 #21408

merged 232 commits into from
Oct 1, 2018

Commits on Apr 25, 2018

  1. Configuration menu
    Copy the full SHA
    01b5cf0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cee640 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0afd1c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    30e86d1 View commit details
    Browse the repository at this point in the history
  5. Remove circular dependency

    legrego committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    936180b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4d4f946 View commit details
    Browse the repository at this point in the history
  7. Adding config.getDefault

    kobelb authored and legrego committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    df569df View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9979fb9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    646a80a View commit details
    Browse the repository at this point in the history

Commits on May 2, 2018

  1. move spaces plugin to kibana

    legrego committed May 2, 2018
    Configuration menu
    Copy the full SHA
    cfa9af3 View commit details
    Browse the repository at this point in the history
  2. [Spaces WIP] Additional space management UI (#18607)

    Functional space management UI
    legrego committed May 2, 2018
    Configuration menu
    Copy the full SHA
    d4386db View commit details
    Browse the repository at this point in the history
  3. Porting Spencers changes over (#18664)

    kobelb authored and legrego committed May 2, 2018
    Configuration menu
    Copy the full SHA
    e4abf8a View commit details
    Browse the repository at this point in the history

Commits on May 3, 2018

  1. Spaces mapping (#18778)

    * Introducing URL Context
    
    Merging to `spaces-phase-1`, and open TODO items in this PR will be addressed in separate PRs.
    legrego committed May 3, 2018
    Configuration menu
    Copy the full SHA
    63d5eaa View commit details
    Browse the repository at this point in the history

Commits on May 7, 2018

  1. Configuration menu
    Copy the full SHA
    4cbfe51 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2018

  1. 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
    kobelb committed May 16, 2018
    Configuration menu
    Copy the full SHA
    d679cf5 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2018

  1. Configuration menu
    Copy the full SHA
    980c202 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2018

  1. [Spaces] Space Avatar with selector in main Kibana menu (#18609)

    Adds Space Avatar with selector in main Kibana menu
    legrego committed May 21, 2018
    Configuration menu
    Copy the full SHA
    50c73b4 View commit details
    Browse the repository at this point in the history
  2. [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.
    legrego committed May 21, 2018
    Configuration menu
    Copy the full SHA
    7db020e View commit details
    Browse the repository at this point in the history

Commits on May 22, 2018

  1. Configuration menu
    Copy the full SHA
    36e7a67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06eb784 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2018

  1. Removing unused file

    kobelb committed May 29, 2018
    Configuration menu
    Copy the full SHA
    767fb27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    203ec3e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d818cc6 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2018

  1. Configuration menu
    Copy the full SHA
    813a816 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66226d6 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2018

  1. 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
    kobelb committed Jun 1, 2018
    Configuration menu
    Copy the full SHA
    d8d9810 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2018

  1. 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
    kobelb committed Jun 4, 2018
    Configuration menu
    Copy the full SHA
    3e8e694 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2018

  1. Configuration menu
    Copy the full SHA
    74b8486 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1231c70 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2018

  1. Configuration menu
    Copy the full SHA
    99d70b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db18d1e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d793056 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2018

  1. 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
    kobelb committed Jun 7, 2018
    Configuration menu
    Copy the full SHA
    7f2c9b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6093bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4abf5ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d951a20 View commit details
    Browse the repository at this point in the history
  5. Removing some unused code

    kobelb committed Jun 7, 2018
    Configuration menu
    Copy the full SHA
    8920425 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    91d04e4 View commit details
    Browse the repository at this point in the history
  7. Fixing misspelling

    kobelb committed Jun 7, 2018
    Configuration menu
    Copy the full SHA
    430d72c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7977f00 View commit details
    Browse the repository at this point in the history
  9. [Spaces] - Reactify roles screen (#19035)

    Redesigned Role Management screen using React and EUI
    legrego committed Jun 7, 2018
    Configuration menu
    Copy the full SHA
    4b52a1f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    60d5917 View commit details
    Browse the repository at this point in the history
  11. Putting a file back

    kobelb committed Jun 7, 2018
    Configuration menu
    Copy the full SHA
    4b3c6ba View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2018

  1. Configuration menu
    Copy the full SHA
    117b0d4 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2018

  1. Configuration menu
    Copy the full SHA
    c42635b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e887076 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2018

  1. [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
    legrego committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    a76e4a5 View commit details
    Browse the repository at this point in the history
  2. RBAC Legacy Fallback (#19818)

    * 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
    kobelb committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    7ef5850 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9941eb2 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. [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.
    legrego committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    8667ebd View commit details
    Browse the repository at this point in the history
  2. [Flaky Test] Fixes flaky role test (#19899)

    Here's a fix for the latest flaky test @kobelb
    legrego committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    b0e6998 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f11a97f View commit details
    Browse the repository at this point in the history
  4. updates from merge

    legrego committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    9189918 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3dd4b3b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    84f4a8d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b464f03 View commit details
    Browse the repository at this point in the history
  8. Sample was including login/version privileges, which was occasionally (

    …#19915)
    
    causing issues that were really hard to replicate
    kobelb committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    e02c5bb View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2018

  1. Dynamic types (#19925)

    No more hard-coded types! This will make it so that plugins that register their own mappings just transparently work.
    kobelb authored and legrego committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    9cdf641 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50411b4 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2018

  1. start to address feedback

    legrego committed Jun 19, 2018
    Configuration menu
    Copy the full SHA
    a53e7d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    472ae28 View commit details
    Browse the repository at this point in the history
  3. fix merge

    legrego committed Jun 19, 2018
    Configuration menu
    Copy the full SHA
    b7d2514 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2018

  1. Configuration menu
    Copy the full SHA
    1bc85f9 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2018

  1. Configuration menu
    Copy the full SHA
    e11d86b View commit details
    Browse the repository at this point in the history
  2. 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
    legrego committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    f875cec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6d4466 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2018

  1. Configuration menu
    Copy the full SHA
    c899985 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2018

  1. 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
    kobelb committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    be6445c View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2018

  1. 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
    kobelb committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    e3c1a99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2cc325 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2018

  1. Configuration menu
    Copy the full SHA
    b8a110b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8696030 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a56af65 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    19a7d6f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    33a153d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5d8745f View commit details
    Browse the repository at this point in the history
  7. Revising check_license tests

    kobelb committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    c1689f7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c7ae3e8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    03f7931 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    98acdc0 View commit details
    Browse the repository at this point in the history
  11. Adding Privileges tests

    kobelb committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    3a95af3 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2018

  1. Configuration menu
    Copy the full SHA
    3299a0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6942034 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19ddaea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b59be01 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1f48041 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6e72a63 View commit details
    Browse the repository at this point in the history
  7. fix merge 'conflict'

    legrego committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    a1720af View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2018

  1. 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
    kobelb committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    98ea1b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2018

  1. Configuration menu
    Copy the full SHA
    3c87234 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2b4ccf View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2018

  1. Deriving application from Kibana index (#20614)

    * Specifying the application on the "authorization service"
    
    * Moving watchStatusAndLicenseToInitialize to be below initAuthorizationService
    
    * Using short-hand propery assignment
    kobelb committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    7cef606 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2018

  1. Validate ES has_privileges response before trusting it (#20682)

    * validate elasticsearch has_privileges response before trusting it
    
    * address feedback
    legrego authored and kobelb committed Jul 12, 2018
    Configuration menu
    Copy the full SHA
    fb724d2 View commit details
    Browse the repository at this point in the history
  2. Removing unused setting

    kobelb committed Jul 12, 2018
    Configuration menu
    Copy the full SHA
    c65908b View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2018

  1. Configuration menu
    Copy the full SHA
    3e6c057 View commit details
    Browse the repository at this point in the history
  2. Public Role APIs (#20732)

    * 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
    kobelb committed Jul 13, 2018
    Configuration menu
    Copy the full SHA
    a597976 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36f4b2f View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2018

  1. Configuration menu
    Copy the full SHA
    1330efd View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2018

  1. Configuration menu
    Copy the full SHA
    6fb21ee View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2018

  1. Configuration menu
    Copy the full SHA
    6fa01f1 View commit details
    Browse the repository at this point in the history
  2. [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.
    legrego committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    b6d9ec2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    91350bf View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2018

  1. Configuration menu
    Copy the full SHA
    f1fdf2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe9e7fe View commit details
    Browse the repository at this point in the history
  3. fix lint errors

    legrego committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    88b51da View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2018

  1. Configuration menu
    Copy the full SHA
    0e898e5 View commit details
    Browse the repository at this point in the history
  2. fix merge

    legrego committed Jul 25, 2018
    Configuration menu
    Copy the full SHA
    3d8b9b9 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2018

  1. [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.
    legrego committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    252e407 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2018

  1. [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 🎉
    legrego committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    e526f5b View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2018

  1. Configuration menu
    Copy the full SHA
    c1ce140 View commit details
    Browse the repository at this point in the history
  2. fix snapshot

    legrego committed Jul 30, 2018
    Configuration menu
    Copy the full SHA
    3159a15 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    200725c View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2018

  1. Configuration menu
    Copy the full SHA
    70e8c76 View commit details
    Browse the repository at this point in the history
  2. yarn.lock update

    legrego committed Jul 31, 2018
    Configuration menu
    Copy the full SHA
    0a9b027 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2018

  1. [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.
    legrego committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    69ab612 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2018

  1. Configuration menu
    Copy the full SHA
    0761b0a View commit details
    Browse the repository at this point in the history
  2. use new spaces icon

    legrego committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    f618f1a View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2018

  1. [Spaces] move Spaces management into Kibana section (#21665)

    This moves the spaces management link into the Kibana section, rather than a dedicated Spaces section
    legrego committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    efb8f06 View commit details
    Browse the repository at this point in the history
  2. [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)
    legrego committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0dd9ccd View commit details
    Browse the repository at this point in the history
  3. snapshot updates

    legrego committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    7734701 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    71144f8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    649974a View commit details
    Browse the repository at this point in the history
  6. [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
    legrego committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    69fe9a7 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2018

  1. 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
    kobelb committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    e9ee8f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72a1526 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2018

  1. Configuration menu
    Copy the full SHA
    0be2613 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2018

  1. Configuration menu
    Copy the full SHA
    ffb682e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f2eb00 View commit details
    Browse the repository at this point in the history
  3. update snapshots

    legrego committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    bfd3746 View commit details
    Browse the repository at this point in the history
  4. fix space card rendering

    legrego committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    8c42a68 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2018

  1. [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.
    legrego committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    2f08590 View commit details
    Browse the repository at this point in the history
  2. fix typescript errors

    legrego committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    0ecf9e7 View commit details
    Browse the repository at this point in the history
  3. fix snapshot

    legrego committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    e4f2c92 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5288dd View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2018

  1. [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
    legrego committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    29c7b8a View commit details
    Browse the repository at this point in the history
  2. fix tests

    legrego committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    156718a View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2018

  1. Configuration menu
    Copy the full SHA
    2c50a9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70f615b View commit details
    Browse the repository at this point in the history
  3. attempt to fix test flakyness

    legrego committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    e04dfd2 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2018

  1. Configuration menu
    Copy the full SHA
    3e1c1fa View commit details
    Browse the repository at this point in the history
  2. [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
    legrego committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    278f7b8 View commit details
    Browse the repository at this point in the history
  3. diagnose flakyness

    legrego committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    1fcfd4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1544b38 View commit details
    Browse the repository at this point in the history
  5. add missing await

    legrego committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    e4ebd0b View commit details
    Browse the repository at this point in the history
  6. 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
    kobelb committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    8b77134 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Configuration menu
    Copy the full SHA
    a226521 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    896a89c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    125cc36 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    81096fd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ec71883 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    557bbcd View commit details
    Browse the repository at this point in the history
  7. run all tests again

    legrego committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    b6c5f11 View commit details
    Browse the repository at this point in the history
  8. run all oss tests again

    legrego committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    ce6bd30 View commit details
    Browse the repository at this point in the history
  9. update role api tests

    legrego committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    df74a82 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. [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)
    legrego committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    06ee993 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2018

  1. Configuration menu
    Copy the full SHA
    bf6dd35 View commit details
    Browse the repository at this point in the history
  2. update snapshot

    legrego committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    2d0b1ed View commit details
    Browse the repository at this point in the history
  3. fix failing test

    legrego committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    493b3df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    778f69f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1a76bfe View commit details
    Browse the repository at this point in the history
  6. update tests

    legrego committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    2c13b0e View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. improve default space color

    legrego committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    a582cb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eac1f4c View commit details
    Browse the repository at this point in the history
  3. add chrome mock

    legrego committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    e9542a6 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2018

  1. [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
    kobelb committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    b90b30f View commit details
    Browse the repository at this point in the history
  2. fix package version

    legrego committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    07919a7 View commit details
    Browse the repository at this point in the history
  3. update xpack yarn.lock

    legrego committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    d9095b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e17ef32 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a665a5e View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2018

  1. Configuration menu
    Copy the full SHA
    5ed4427 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    feef8b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01f3cf1 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2018

  1. [Spaces] - code cleanup (#22802)

    * finishes TS conversion for the Spaces plugin
    legrego committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    79bff57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6cebf38 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    68829be View commit details
    Browse the repository at this point in the history
  4. update snapshots

    legrego committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    70641d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3874fee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eb36356 View commit details
    Browse the repository at this point in the history
  7. debug ts error

    legrego committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    accbe4f View commit details
    Browse the repository at this point in the history
  8. fix invalid login tests

    legrego committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    703d90d View commit details
    Browse the repository at this point in the history
  9. test diagnosis

    legrego committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    fc07717 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2018

  1. additional tests

    legrego committed Sep 15, 2018
    Configuration menu
    Copy the full SHA
    49ea334 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29686c6 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2018

  1. sort spaces by name

    legrego committed Sep 18, 2018
    Configuration menu
    Copy the full SHA
    9dd36d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4544c7a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3b3168 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    04ed13d View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2018

  1. Configuration menu
    Copy the full SHA
    d406c61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b87f0a View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2018

  1. Implementing find

    kobelb committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    f2a2f46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c314f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    93c6b79 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be44857 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba43a69 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    954d9df View commit details
    Browse the repository at this point in the history
  7. Adding schema tests

    kobelb committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    a293000 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    86edf75 View commit details
    Browse the repository at this point in the history
  9. Fixing uiExports

    kobelb committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    f54a294 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'upstream/master' into saved-object-name…

    …spaces-with-migrations
    kobelb committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    40eeab6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9d3b199 View commit details
    Browse the repository at this point in the history
  12. Removing erroneous export

    kobelb committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    1cbd703 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    78d44eb View commit details
    Browse the repository at this point in the history
  14. Fixing some tests

    kobelb committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    3e20cda View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2b46bf9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1350708 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d892566 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    05f3465 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    1c3b481 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    cf9a50a View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    3b115ad View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2018

  1. Configuration menu
    Copy the full SHA
    1d8b2c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    493f899 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    debb061 View commit details
    Browse the repository at this point in the history
  4. [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.
    legrego committed Sep 21, 2018
    Configuration menu
    Copy the full SHA
    33d871b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0a6d4f0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    06d13c9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    41992d3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    04efc88 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2018

  1. Configuration menu
    Copy the full SHA
    88aad1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6777c8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcac182 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4673d51 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7c1e8c0 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2018

  1. Configuration menu
    Copy the full SHA
    8873643 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f49d05 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3832255 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    18ca584 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. Configuration menu
    Copy the full SHA
    32bd036 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fec5a16 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e71247 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2018

  1. Configuration menu
    Copy the full SHA
    0c3c099 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2018

  1. Configuration menu
    Copy the full SHA
    e7dd8bf View commit details
    Browse the repository at this point in the history