NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
41 stars 27 forks source link

Feature: Render Data Package Permissions in the metadata view #1830

Open csjx opened 3 years ago

csjx commented 3 years ago

We currently include a permissions section in the XSLT-rendered view of EML documents when there is an /eml/access section in the metadata, which is of course deprecated, but still present in older EML documents. The SystemMetadata.rightsHolder and SystemMetadata.AccessPolicy entries are currently not shown in the metadata view. Feedback from ESS-DIVE scientists and their UX?UI specialist (Sarah) was that it would be helpful for research groups to see this metadata prominently below the Data Package Table, but conditionally only for those that have write or changePermission permission on the dataset. This would help managers have a quick look at who currently has access without entering edit mode. Sarah provided a mockup:

For review: Should the rendered data package permissions metadata prominence be configurable (it may bump the abstract "below the fold)"? What if there are individual file-level ACLs? Do we link to them lower in the rendered metadata?

This relates to https://github.com/NCEAS/metacatui/issues/1640 and should be considered with the wider permissions management challenges described there.

This ticket is derived from the ESS-DIVE private repo ticket https://github.com/ess-dive/ess-dive-catalog/issues/493

laurenwalker commented 3 years ago

I think this is great. Some feedback:

What if there are individual file-level ACLs?

But overall I think this is a very doable task