hackforla / HomeUniteUs

We're working with community non-profits who have a Host Home or empty bedrooms initiative to develop a workflow management tool to make the process scalable (across all providers), reduce institutional bias, and effectively capture data.
https://homeunite.us/
GNU General Public License v2.0
39 stars 21 forks source link

Generated users are not assigned proper roles #757

Open erikguntner opened 3 months ago

erikguntner commented 3 months ago

Overview

We currently generate 3 test users for the application. However, all users are signed up with the role "Admin". We want each user to be signed up for the appropriate role in order to better simulate each user type.

Action Items

Resources/Instructions

ExperimentsInHonesty commented 2 months ago

@erikguntner do we store a copy of the user/pass in the 1password vault so that users testing the interface can use those test credentials?. After y you answer this in a comment, please add the ready for product label and remove the ready for dev lead label

ExperimentsInHonesty commented 2 months ago

@lasryariel please have the dev team help you find which article a person who will take on this issue will need in order to do the task. A simple search for me revealed a tone of results, but I wouldn't know which one was the right one to read, and this issue is supposed to be a super easy starter issue. I am not saying they need to tell them how to work, but telling them which article is authoritative is going to be key here.

ExperimentsInHonesty commented 2 months ago

Also, Admin is defined as a role

erikguntner commented 2 months ago

@ExperimentsInHonesty we don't currently store the user's credentials in the 1Password vault.

The roles we currently have defined are Guest, Host, Coordinator, and Admin. However, we haven't spoken about specific functionality for an Admin so I was thinking we would have at least 1 of each of a guest, host, and coordinator. These roles are defined in code in the file: api/openapi_server/models/user_roles.py.

lola3736 commented 1 week ago

@tylerthome @paulespinosa to check with @erikguntner if this is completed.