Dynamic Role Permission is not working properly March 31, 2020, 06:04:09 PM Here I attached my table and work structurePlease somebody point to meWhat I did wrong?now I am getting issue is all menus are missing then I tried URL way to access there I seen below message 403Resource Access Forbidden!You are not authorized to access this page! Quote Selected
Re: Dynamic Role Permission is not working properly Reply #1 – April 01, 2020, 02:24:13 AM Hi Arun,You haven't shown the content of "user_table". Ensure the users have the roles: Administrator, Vender, and User respectively.BR Quote Selected
Re: Dynamic Role Permission is not working properly Reply #2 – April 01, 2020, 02:41:44 AM I have it that roles on users table Quote Selected Last Edit: April 01, 2020, 03:19:50 AM by arun
Re: Dynamic Role Permission is not working properly Reply #3 – April 01, 2020, 10:25:59 AM @arun note that anytime you add a new page you have to configure Roles and Permission to give user roles, access to the page. or you manually enter the permission for the user in the user permission table. Quote Selected
Re: Dynamic Role Permission is not working properly Reply #4 – April 01, 2020, 11:14:08 AM I mean the users table showing the user name, login name, role, etc. You have to assign roles to users and set permission to the roles discretely. See attached. It worked for me. Quote Selected
Re: Dynamic Role Permission is not working properly Reply #5 – April 01, 2020, 04:19:53 PM Quote from: willvin – April 01, 2020, 10:25:59 AM@arun note that anytime you add a new page you have to configure Roles and Permission to give user roles, access to the page. or you manually enter the permission for the user in the user permission table.Here I attached my project file and db please check and solve issue Quote Selected
Re: Dynamic Role Permission is not working properly Reply #6 – April 02, 2020, 03:11:13 AM Hi phprad team,When I will expect solution ? Quote Selected
Re: Dynamic Role Permission is not working properly Reply #7 – April 02, 2020, 11:33:56 AM @arun please on Dynamic Roles, you don't store the role name in the user_role field on the users table, rather you store the role id there. Note: when you configure Dynamic Roles phprad configures all necessary configurations for it to function properly unless you go and make changes to the fields already configured by phprad you get errors as you reported. Quote Selected