Block Unauthorized Users from Accessing Platform
Closed this issue · 0 comments
alan-fang commented
Is your feature request related to a problem? Please describe.
Currently, anyone who signs in through Google OAuth is given unconditional read access to the platform. We should be blocking out all users (this ticket) and selectively allowing whitelisted users based on administrator choice (#92 )
Describe the solution you'd like
Instead of unconditionally redirecting to the home page, if a user hasn't been approved by an admin (you can check this via role
in the User
model), then redirect to a new pending page (this can be as basic as just the word pending for now... designs WIP @eckels )
Additional context
Add details, any other context or screenshots about the feature request here.