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

[Workspace][Feature] Backport the change of ACL in main #279

Merged
merged 9 commits into from
Mar 11, 2024

Commits on Mar 5, 2024

  1. [Workspace][Feature] Add ACL related functions (opensearch-project#5084)

    * [Workspace] Add ACL related functions for workspace (opensearch-project#146)
    
    * [Workspace] Add acl related functions for workspace
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Minor change
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    ---------
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Modify changelog
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Add more unit test cases
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Modify test case
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Some minor change
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Add more test cases
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Optimize some code and the comments of the functions
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Add more comments for some basic functions
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Export more interfaces
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * consume permissions in repository
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: consume permissions in serializer
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * Add unit tests for consuming permissions in repository
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Remove double exclamation
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Rename some variables
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Remove duplicated semicolon
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Add permissions field to the mapping only if the permission control is enabled
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Fix test failure
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Add feature flag config to the yml file
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Make the comment of feature flag more clear
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Make comment more clear
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Remove management permission type
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Fix test failure
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    ---------
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    Co-authored-by: Josh Romero <rmerqg@amazon.com>
    Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
    3 people committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    cb3ee34 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Remove duplicated attribute

    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    gaobinlong committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    f48837e View commit details
    Browse the repository at this point in the history
  2. Enable acl in integration tests for workspace client wrapper

    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    gaobinlong committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    c94ab1e View commit details
    Browse the repository at this point in the history
  3. Format the code

    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    gaobinlong committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    2677efb View commit details
    Browse the repository at this point in the history
  4. Modify feature flag

    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    gaobinlong committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    54f16e7 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Modify feature flag to false

    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    gaobinlong committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    888a8f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9dd33a6 View commit details
    Browse the repository at this point in the history
  3. Modify feature flag to true

    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    gaobinlong committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    4fbb8a1 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Enhance the test case

    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    gaobinlong committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    e01214f View commit details
    Browse the repository at this point in the history