Forums | Mahara Community
Admin Lost Admin Block
14 February 2017, 0:36
I did something wrong and now I get the following message as admin:
You are forbidden from accessing the administration section.
How do I reinstate my rights to the admin block?
14 February 2017, 9:16
I'm thinking either
A) you (as admin) are masquerading as a non admin user and so can't see the admin section.
- solution: finish masquerading as the other user by logging out and then back in again
B) you (as admin) or another admin removed your administrator rights.
- solution 1: ask another admin to reinstate you admin rights then try logging in again
- solution 2: edit the database directly and run this command:
UPDATE usr SET admin = 1 WHERE username = '[username]';
where [username] is your actual username
14 February 2017, 10:11
14 February 2017, 10:09
As a suggestion. You might want to create a second site Admin account for yourself. This is a practice I have found valuable since there are a number of reasons that an Admin account may have issues. You can use the second account to fix the first.