jedireza / aqua

:bulb: A website and user system starter
https://jedireza.github.io/aqua/
MIT License
1.38k stars 356 forks source link

How to add new user role. #191

Closed colin-han closed 7 years ago

colin-han commented 7 years ago

Hi, jedireza,

Just like your wiki page 'https://github.com/jedireza/aqua/wiki/Users,-Roles-&-Groups' said, 'Admin' and 'Account' are just like a user role. And we can have more than two role in system. I'm not sure my understand is correct. Does that you mean the system has ability to easily create new role? with little code?

I have take a look in source code, I found that Admin, Account and User are store in different tables, and there have server different apis and pages to support them. That means, I need create a serials of pages and apis if I want support more than two roles? Am I correct?

Thanks for your time.

jedireza commented 7 years ago

That means, I need create a serials of pages and apis if I want support more than two roles? Am I correct?

Yes

colin-han commented 7 years ago

I see. Thank you.