New Employee Access Denied
-
I have created a new profile, added all permissions to it and assigned the profile to an employee. However it shows Access Denied. Same employee if i assign superadmin profile, it works fine. Please assist, I have checked the database and it looks fine, the employee is added, the profile is assigned to the employee, the permissions are also asigned to the profile and also tabs are assigned.
-
Hi @Ikram17896 ,
This issue occurs because, starting from MariaDB 10, there are changes in how values are typecast internally. In this case, integers are being typecast to strings when fetching permissions, which leads to conflicts and results in the Access Denied warning even when the profile has all permissions.
To resolve the Access Denied issue, please refer to the following PR: https://github.com/Qloapps/QloApps/pull/1577