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

Prevent non-admin users from seeing views #90

Open
3 of 5 tasks
jesswinssinger opened this issue Nov 9, 2017 · 2 comments
Open
3 of 5 tasks

Prevent non-admin users from seeing views #90

jesswinssinger opened this issue Nov 9, 2017 · 2 comments

Comments

@jesswinssinger
Copy link
Contributor

jesswinssinger commented Nov 9, 2017

if !current_user.is_admin, current_user should not be able to view the following:

  • index of all students
  • index of all users
  • index of all pulls
  • show student
  • show user

Story Points: 3

@jesswinssinger
Copy link
Contributor Author

I forgot emails!!! Students shouldn't be able to see scheduled emails or use the mailer either. Maybe if a non-admin types in the links they are redirected to the home page with a flash notif that you don't have access to that page? Or something along those lines. @elfran @vdhanan

@g-rocket
Copy link
Contributor

g-rocket commented Dec 1, 2017

See #166

@vdhanan vdhanan removed their assignment Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants