OptimalBits / node_acl

Access control lists for node applications
2.62k stars 369 forks source link

Implement roles to view #206

Open tuanptit opened 8 years ago

tuanptit commented 8 years ago

I create a user and grant some roles to them. But I have many pages and roles, each page have many buttons and just only some specific user can see it. So each time I load a page, I have to check that user whether they have a role to display that button. I think this way is very complicated and take a lot of work to do. So I wonder what is the best way to do this work.