Lola
1 year ago

Laravel roles

Posted 1 year ago by Lola

Hello , I need some advice ...

I have two types of users, members and their secretaries (all columns are different except email, password fields) , also secreteraies don't access some pages...

The login form is the same , so I add some table (users) with types => member, secretary , for each type I have some profile table , also for secretaries table I have some role_id for choosing permissions .

Is it good idea or no?

May be I need to have two different tables? members & secretaries? (the same form little confusing)

Please sign in or create an account to participate in this conversation.