Hi I am using devise for my auth system in rails.
I have 2 types of users, say students and teachers.
Student has access to profile. Teachers have access to gradebook.
How should this be implemented in rails?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your talking about two different things, Devise is an Authentication tool, You want an Authorization tool like CanCan or some other custom Role/Permission System