hackforla / hackforla/HomeUniteUs

Dev: Generated users are not assigned proper roles

Open
#757 6 comments 0 reactions 0 assignees View on GitHub
Complexity: Small draft Feature: Refactoring Role: Back End size: 0.5pt
Dominant language
Python
Stars
45
Forks
22
Avg merge
15d 1h
Merged PRs (30d)
1

Description

### 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
- [ ] Create a mock user for each role of Guest, Host, Coordinator.

### Resources/Instructions

- The file to work on can be found at: `api/openapi_server/configs/mock_aws.py` inside the `create_test_users` method.
- User roles are defined in the file: `api/openapi_server/models/user_roles.py`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.