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

Update to ACM v0.21 and open more views to logged in users #334

Merged
merged 19 commits into from
Dec 4, 2023

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Dec 4, 2023

  • Update to ACM v0.21. This opens some views up to users with AnVILConsortiumManagerView permission.
  • Open DUO views to anyone who with AnVILConsortiumManagerView (so essentially anyone who has logged in)
  • Update home page for above changes
  • Show an alert to users who have not linked their accounts

Closes #328

For now, use the same tables for both the staff_view and regular view
permissions. This gets the project up and running with the new
adapter requirements, and we can modify the tables seen by regular
view users in future commits.
Now that users can see the workspace detail page, linkify the
workspace column.
Now that people can see the workspace detail page, we can have a
link in the CDSAWorkspaceUserTable.
Now that the workspace detail page is viewable to these users, the
workspace column can be linkified.
Rename the DefaultWorkspaceTable to DefaultWorkspaceStaffTable, and
add a new DefaultWorkspaceUserTable for users with view permission.
This matches the naming conventions previously established. In the
adapters using the default workspace table, set the table class for
view users to DefaultWorkspaceUserTable.
Remove the button after the title, and add the link to the details
table.
Add the check and message about linking an AnVIL account to the
base template such that it displays an alert on all pages for
users who have not yet linked their AnVIL account.
Copy link

codecov bot commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ed1cff9) 98.26% compared to head (9729f29) 98.27%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #334   +/-   ##
=======================================
  Coverage   98.26%   98.27%           
=======================================
  Files         231      231           
  Lines       17800    17817   +17     
=======================================
+ Hits        17492    17510   +18     
+ Misses        308      307    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amstilp amstilp marked this pull request as ready for review December 4, 2023 22:11
@amstilp amstilp merged commit 7e1f7a1 into main Dec 4, 2023
8 checks passed
@amstilp amstilp deleted the feature/acm-v0.21-and-open-views branch February 6, 2024 18:35
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.

Open up more views to investigators
1 participant