Project

General

Profile

Bug #8116

Change of user role from teach to student causes admin to loss permissions

Added by Marcel Aniceto almost 4 years ago. Updated over 3 years ago.

Status:
Rejected - Abandoned
Priority:
Immediate
Assignee:
-
Category:
System
Target version:
Start date:
02/03/2016
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

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.

Chamilo 1.10.2


Files

phpMyAdmin 4.0.10deb1.png (97.2 KB) phpMyAdmin 4.0.10deb1.png my example admin table Marcel Aniceto, 23/05/2016 15:20

History

#1

Updated by José Loguercio almost 4 years ago

This was fixed already, try to update your chamilo installation

https://github.com/chamilo/chamilo-lms

Thanks

#2

Updated by José Loguercio almost 4 years ago

  • Status changed from New to Rejected - Abandoned
  • Target version set to 1.10.4
  • % Done changed from 0 to 100
#3

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 cleaned 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 again 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.

Best regards,

Also available in: Atom PDF