-
Notifications
You must be signed in to change notification settings - Fork 155
Onboards to centralized resource access control mechanism for ml-model-group #3715
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
base: main
Are you sure you want to change the base?
Onboards to centralized resource access control mechanism for ml-model-group #3715
Conversation
…l-group Signed-off-by: Darshit Chanpura <[email protected]>
Apply spotless: |
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
Integ tests are failing. |
bd13cc6
to
b5f7efe
Compare
can you please rebase with upstream and resolve the conflicts too? |
Signed-off-by: Darshit Chanpura <[email protected]>
@dhrubo-os Can you trigger CI please? |
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
} | ||
// For backwards compatibility we still allow storing backend_roles data in ml_model_group | ||
// index | ||
updateModelGroup(modelGroupId, r.source(), updateModelGroupInput, wrappedListener, user); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So if user wants to update resource sharing fields through update model group API, how do we allow it?
.getResourceSharingClient(); | ||
|
||
resourceSharingClient | ||
.share( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once onboarded and ml access framework is deprecated, what happens to the already existing resources with access controls defined by ml-plugin
Description
Implements resource-access-control for ML-Model-Group.
Feature Proposal: opensearch-project/security#4500
Related Issues
TBD
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.