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

[#2150] Restrict case court report searching to admins and supervisors #2176

Conversation

rhian-cs
Copy link
Contributor

What github issue is this PR for, if any?

Resolves #2150

What changed, and why?

In the "Generate Court Reports" page, volunteers now can't search for a specific case, only select from a dropdown menu.

How will this affect user permissions?

No permissions have been affected internally.

How is this tested? (please write tests!) 💖💪

I wrote system specs to check if the volunteers/supervisors could see the search menu and interact with it.

Screenshots please :)

Supervisor view:
image

Volunteer view:
image

@github-actions github-actions bot added erb ruby Pull requests that update Ruby code Tests! 🎉💖👏 labels Jun 21, 2021
@rhian-cs rhian-cs force-pushed the 2150-disable-court-report-case-search-for-volunteers branch from 3b34941 to c54be8c Compare June 22, 2021 13:00
@github-actions github-actions bot added the javascript for use by Github Labeler to mark pull requests that update Javascript code label Jun 22, 2021
Copy link
Collaborator

@compwron compwron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

@compwron compwron merged commit 561c639 into rubyforgood:main Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
erb javascript for use by Github Labeler to mark pull requests that update Javascript code ruby Pull requests that update Ruby code Tests! 🎉💖👏
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable Court Report Case Search For Volunteers
2 participants