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

Open views to investigators #789

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Oct 23, 2024

  • Update templates to show less to "view" users (since templates were initially written when only DCC staff would access them). This includes removing buttons, links, etc, that wouldn't work for them or that they shouldn't see.
  • Allow "view" users to see the UploadCycleDetail and UploadCycleList pages

Still to do:

This will let us grant that group view permission.
Modify tests to use a view user by default. Change test structure for
checking links by having one test for view users, one for staff
view, and one for edit users; these tests check if the proper links
are or are not shown.
Finally remove the under construction message! Add links to the
upload cycles and to the workspace landing page.
Remove the "under construction" message! Add descriptive text and
some links to the upload cycle list and the workspace landing page.
Now that all authenticated users will be getting view permission,
we need to make sure that the workspace detail pages only contain
information and links that they should see. Update workspace detail
page and tests as appropriate.
Copy link

codecov bot commented Oct 23, 2024

Codecov Report

Attention: Patch coverage is 99.53271% with 2 lines in your changes missing coverage. Please review.

Project coverage is 98.70%. Comparing base (e50af32) to head (173831c).

Files with missing lines Patch % Lines
...emplates/gregor_anvil/releaseworkspace_detail.html 77.77% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #789      +/-   ##
==========================================
+ Coverage   98.53%   98.70%   +0.17%     
==========================================
  Files         162      162              
  Lines       20503    20823     +320     
==========================================
+ Hits        20203    20554     +351     
+ Misses        300      269      -31     

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

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.

1 participant