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

Disallow Importing Stratification Factors for Users with the 'Reader' Role #2009

Closed
zackcl opened this issue Oct 3, 2024 · 2 comments · Fixed by #2010
Closed

Disallow Importing Stratification Factors for Users with the 'Reader' Role #2009

zackcl opened this issue Oct 3, 2024 · 2 comments · Fixed by #2010
Assignees
Labels
bug Something isn't working frontend release 6.0

Comments

@zackcl
Copy link
Collaborator

zackcl commented Oct 3, 2024

Version where bug was found:
6.0.0

Describe the bug
We should not allow importing stratification factors for users with the 'Reader' role.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Profile page and update your role to 'Reader' (note: not sure how to revert to 'Admin' later though).
  2. Go to the Participants page and click the "Stratifications" tab.
  3. Observe that the "Import CSV" button is visible and clickable.

Expected behavior
The "Import CSV" button above the Stratifications table should be invisible for users with the 'Reader' role.

Screenshots
Screenshot 2024-10-03 at 2 26 39 PM

Additional context
Related Issue: #1998

@zackcl zackcl added bug Something isn't working frontend labels Oct 3, 2024
@zackcl zackcl self-assigned this Oct 3, 2024
@ppratikcr7 ppratikcr7 moved this to Code Review in UpGrade Project Oct 3, 2024
@ppratikcr7 ppratikcr7 moved this from Code Review to QA in UpGrade Project Oct 3, 2024
@danoswaltCL danoswaltCL self-assigned this Oct 3, 2024
@danoswaltCL
Copy link
Collaborator

I will QA

@danoswaltCL
Copy link
Collaborator

passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend release 6.0
Projects
Status: Done
2 participants