Hey Guys;
I have a question for you.I'm trying to build a website that some kind of users will log in and out.These people have some roles and the roles are user which only can see some parts on the menu,admin which can see everything on it,pharmacist which can see more than users and less than admin.For example when you enter the website first,you have the user role code and after filling the information that I asked to be the member of the website, you have a role code which is pharmacist.While you are sending your information to be the member, I also get the role code from the page automatically and save it to database.Now my problem is that I have a menu which is sitemap and because I couldn't make the configurations,even if you are the user,you can see everything like an admin.I need to do some work and then I will allow or deny some parts of the menu according to the role code.
I search these kinds of examples on the internet and I found ...
Go to the complete details ...