metacatui
metacatui copied to clipboard
Enhance sharing panel to present default teams (groups) to share
Describe the feature you'd like This issue is related to Epic #1640. This enhancement request is in support of ESS-DIVE project spaces v2 (Epic ess-dive/ess-dive-project#181) functionality (See epic ess-dive/ess-dive-project#178 for full description).
ESS-DIVE is developing a REST API for accessing information about ESS-DIVE projects. This service will enable searching for and accessing approved ESS-DIVE projects. Each project will have one or more teams (a.k.a DataONE groups) associated with it and users are required to set a project for each data package that they contribute to the ESS-DIVE repository.
The enhancement we are requesting is to enhance the sharing panel to present the project teams (groups) associated with a dataset's project. These teams would show up at the top of the list of access policy subjects in the sharing panel in an "unshared" state.
Sharing Panel Mockup
Please, note that this mockup uses the ESS-DIVE modified version of the sharing panel which does the following.
ESS-DIVE existing extensions The following are the extensions that ESS-DIVE has already made to the sharing panel in our code base. These enhancements are not being requested. However, it may be good to consider whether these are valuable to the DataONE community.
- Configures terms for read, write, changePermission as view, edit, manage.
- Removes the public/private toggle
- Adds detailed instructions for each role at the top
- limits the "Search by" textbox to only allow users to search for individuals (no groups)
- Clicking save updates all of the access policies of the dataset data files
Enhancement needed for project spaces
- Make term "group" configurable so that we may change it to "team"
- Change the column "ORCID" to "Identifier" because teams do not have ORCIDs
- Present a list of configured default project teams (if present) at the top of the access table as "Not shared". The user may decide to share with the project team or not. If the project is shared then the Access drop down will show the access role (view, edit, manage).
Refreshed Mockup

Additional context
JSON Project Example
This is an example of the type of information a project will have. The data structure is still under development.
{
"id": 53,
"pi": [
{
"pi_email": "[email protected]",
"pi_first_name": "Stan",
"pi_institution": "Oak Ridge National Laboratory",
"pi_last_name": "Wullschleger"
}
],
"project_title": "Next-Generation Ecosystem Experiments (NGEE) Arctic",
"project_type": "Lab Awards",
"short_name": "NGEE Arctic",
"sponsor_program": "TES"
}