hubmapconsortium / portal-ui

HuBMAP Data Portal front end
https://portal.hubmapconsortium.org
MIT License
12 stars 2 forks source link

Austenem/CAT-899 Add access levels #3574

Closed austenem closed 1 month ago

austenem commented 1 month ago

Summary

This update adds access levels to processed dataset helper panels and switches to using relevant access levels when determining whether or not to show workspace buttons on dataset detail pages. (This corrects the issue of processed datasets relying on their primary dataset's access level.)

Design Documentation/Original Tickets

CAT-899 Jira ticket

Testing

Tested manually by checking examples from all types of detail pages and ensuring that workspace buttons and access levels appear as expected.

Screenshots/Video

Identical status & access for primary and processed ![Screenshot 2024-10-15 at 12 23 38 PM](https://github.com/user-attachments/assets/5435dd60-ff6f-4344-879a-27690782f7ae)
Differing status & access for primary and processed ![Screenshot 2024-10-15 at 12 19 10 PM](https://github.com/user-attachments/assets/921346b4-55fd-4ffe-82b6-ba9d9be867c1)
Identical status and differing access for primary and processed ![Screenshot 2024-10-15 at 12 17 16 PM](https://github.com/user-attachments/assets/54a04a9f-9823-4594-99b9-5073908580a2)

Checklist