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

fix: updated experimental get_access_control_list method as per new protocol on MI #259

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

abhilash-kumar-nair
Copy link
Contributor

Code to test

import os
os.environ["IMPACT_PYTHON_CLIENT_EXPERIMENTAL"] = "true"
from modelon.impact.client.client import Client

c = Client("https://impact.local")
pwc = c.get_published_workspaces_client()
published_workspace = pwc.get_by_id(sharing_id="e7fd7608-f1b3-48e8-b04e-4bb473f4d57d")

published_workspace.grant_community_access()
published_workspace_acl = published_workspace.get_access_control_list()
print(published_workspace_acl)

Copy link
Member

@iakovn iakovn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make more sense now!

@abhilash-kumar-nair abhilash-kumar-nair merged commit 455b279 into master Feb 29, 2024
1 check passed
@abhilash-kumar-nair abhilash-kumar-nair deleted the update-acl-rexponse branch February 29, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants