Guys I have 4 tables in my DB as follows
I'm using RoR as web development environment.
Here,
I want to restrict a controller access based on a logged in user's role (role-base-authorization), How I do this? does it requires a new table?
You can use cancan gem. It's a cool gem.