-
Notifications
You must be signed in to change notification settings - Fork 0
Collection Permissions #843
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
Conversation
…-publication fix bug related to extended acls
…-publication REALLY do not update metadata.tsv files when publishing a Component D…
src/app.py
Outdated
| # | ||
| # example url: https://my.endpoint.server/entities/a5659553c04f6ccbe54ff073b071f349/allowable-edit-states | ||
| # inputs: | ||
| # - The uuid of a HuBMAP entity (Donor, Sample or Dataset) as a URL path parameter |
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.
Add new types to comment
| if status == 'new': | ||
| r_val['has_submit_priv'] = True | ||
| elif status == 'qa': | ||
| r_val['has_publish_priv'] = True |
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.
@shirey Collections don't have status, then how can we determine the has_publish_priv?
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.
@yuanzhou If registered_doi or doi_url contains a value, then it is already published and can't be published again. Otherwise, if registered_doi and doi_url are both empty and the user is a member of HuBMAP-Data-Admin Globus group, then they user is allowed to publish.
…point for Collections and EPICollections
Allows Collections and EPICollections for allowable_edit_states permission lookup