Change of user role from teach to student causes admin to loss permissions
When I, as a Admin, get into the user list>user edit, and lower the role from another user from "teacher" to "student", I, as admin, loss all the permission and already see all the options to edit in the user list grayed out.
When I log off and login again as Admin, I can't see the top admin bar anymore and don't have any admin permissions anymore.
Updated by Marcel Aniceto over 3 years ago
Hi, just updating the solution for those who had the same problem and cannot update de Chamilo.
The "admin" table on Chamilo MySQL database was on user capabilities change (downgrade from teacher to student) leaving all admins in the system without access to administrative area, so, to return the privileges to all admins in the system, you should create the "admin" table records.
The table is very basic, on the first row is the (auto) ´id´ of the table and the second row is ´user_id´ witch is the admin's user id, one user per line.
the table example is on the atached image.
This is valid on Chamilo 1.10.2 and not tested on other installs.