Role Based Mult Dashboard May 25, 2020, 08:55:41 AM I have had an issue with my role based dashboards I designed not displaying. So I looked at the HomeController.php file and the function index() is using the USER_ROLE to load the proper dashboard. But it's not writing the role_id integer field but is writing the role_name field. This is what phprad is writing to the fileif(strtolower(USER_ROLE) == 'user')but it should beif(strtolower(USER_ROLE) == 2)If I display the USER_ROLE variable on the dashboard, it's showing the number 2 as expected. Quote Selected
Re: Role Based Mult Dashboard Reply #1 – May 25, 2020, 05:08:46 PM @darbdenral are you using dynamic roles and permission? Quote Selected
Re: Role Based Mult Dashboard Reply #2 – May 25, 2020, 06:17:13 PM @willvin ,Yes, I'm using the dynamic roles.. Everything involving roles and permissions is working fine for me but this.. Here is roles screen.https://imgur.com/LtHW9zNHere is the databasehttps://imgur.com/4d1g8RE* please note I tried to upload these images with the file upload and your server says the upload directory is full. Quote Selected Last Edit: May 25, 2020, 06:22:20 PM by darbdenral
Re: Role Based Mult Dashboard Reply #3 – May 26, 2020, 08:22:58 PM @darbdenral it is a bug, I will report it to the dev. thanks for the info. Quote Selected