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.
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.