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

BUG: Ensure student role is default for all users #29

Open
sangitakunapuli opened this issue Feb 12, 2025 · 0 comments
Open

BUG: Ensure student role is default for all users #29

sangitakunapuli opened this issue Feb 12, 2025 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers S25

Comments

@sangitakunapuli
Copy link
Contributor

sangitakunapuli commented Feb 12, 2025

Summary

There are 3 roles in proj-rec: student, professor, and admin. All users can be students, but not all users can be admins/professors automatically. Thus, we should ensure that all users are designated as students when they first log in.

Expected Behavior

When a user authenticates and logs in for the first time, they should automatically be given the student role.

Current / Observed Behavior

Currently, when users join for the first time, they are not given any roles except user (and admin if they are part of admin emails).

Steps to Reproduce

  1. Navigate to the deployment of proj-rec, or run it locally
  2. Click log in with a new email
  3. If admin, click to see all users and you can see that the new user is not a student or professor by default.
Image
@sangitakunapuli sangitakunapuli added bug Something isn't working good first issue Good for newcomers S25 labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers S25
Projects
None yet
Development

No branches or pull requests

1 participant