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

Allow libraries function set_permission public lib and dataset #490

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

minhtrung1997
Copy link

Hi Galaxy
I work with this API methods using this library. Such a wonderful lib By the way, if I want to make the library and dataset public, I think we can adjust like I committed Long to hear if this will make the user feel better

Hi Galaxy
I work with this API methods using this library. Such a wonderful lib
By the way, if I want to make the library and dataset public, I think we can adjust like I committed
Long to hear if this will make the user feel better
@@ -748,13 +748,13 @@ def set_library_permissions(
:return: General information about the library
"""
payload: Dict[str, List[str]] = {}
if access_in:
Copy link
Contributor

Choose a reason for hiding this comment

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

Before this test failed for access_in being None or []. Now only for None. Is this desired?

Copy link
Author

Choose a reason for hiding this comment

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

I think [] make things unrestricted and is desired in create public data library.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a test that shows this?

I'm also not entirely sure what you mean with "I want to make the library and dataset public". Has this not been possible before. Again, a test would be highly appreciated.

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.

2 participants