[BUG] Cannot login as supervisor user #176
Labels
📋 Supervisor
Work relating to the case supervisor role
🙅♂️ User Permissions
Work relating to different user permissions
Priority: Low
Type: Bug
Projects
Milestone
What's the bug?
Attempting to login as the seeded "supervisor user," email: supervisor1@example.com, gets an "unrecognized role" error.
Need to set up proper scope for a supervisor user in devise policies/scope--what permissions apply to this user?
Supervisors can only access data associated with the following
case_contacts
associated with a supervisor's volunteer assignments (view and edit)casa_cases
associated with a supervisor's volunteer assignments (view and edit)Need to add a test to ensure this doesn't happen in the future.
How to make it happen
Steps to reproduce the behavior:
Screenshots
Extra info:
Error cites user_policy.rb line 25, that file only recognizes 'casa_admin' and 'volunteer' as valid roles
relates to issues
#30
The text was updated successfully, but these errors were encountered: