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

Adds support for communities and subcommunities #1235

Merged
merged 5 commits into from Jun 2, 2023
Merged

Conversation

hectorcorrea
Copy link
Member

@hectorcorrea hectorcorrea commented Jun 1, 2023

Allows a user to select communities and subcommunities for their datasets.

The list of communities available to select depends on the group that the dataset is linked to. This means that PRDS submissions have a different list of communities available to them than PPPL submissions. In fact, PPPL only has one community available to them, but PPPL submissions have an extra field where users can select one or more subcommunities for their dataset.

More notes and discussion about the implementation available here: https://docs.google.com/document/d/1IRy2C_NFpODDnDTPKXQMZZx0NodXb-aVhIriGax3AwU/edit#

Below are a couple of screenshots showing how the edit screen looks for a PRDS submission vs a PPPL submission:

prds

pppl

Closes #1031 #1227 #1228

@@ -153,4 +153,48 @@ def delete_permission(current_user, removed_user)
errors.add(:delete_permission, "Unauthorized")
end
end

Copy link
Member Author

Choose a reason for hiding this comment

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

Eventually we might want to make communities and subcommunities configurable somehow, but for now we are just trying to see if this new design works for PPPL.

@pulbot pulbot temporarily deployed to staging June 2, 2023 13:25 Inactive
@hectorcorrea hectorcorrea merged commit 6bab432 into main Jun 2, 2023
5 checks passed
@hectorcorrea hectorcorrea deleted the communities branch June 2, 2023 19:36
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.

Describe Form: Add "Collection" to the deposited work for PPPL Group
3 participants