MyBB Community Forums

Full Version: As an Admin can you turn off other Admins permissions to access the back end?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Alright so I'm one of the Admin/owners and would like to add a new Admin, am I able to disallow him to access the subscription plugins and stuff like that please?

The only way I could see was via the group/administrators/ Yes, users of this group can access the admin CP

But if I am to change that it would more than likely lock me out, I only want to stop new Admin(s) from accessing certain features.

Is this possible please?

I have just locked myself out by anticking the "Yes, users of this group can access the admin CP" as a test Sad

How do I get access back please....
see replies here http://community.mybb.com/thread-99502-post-726275.html

and to restrict other administrators permissions on admin panel, you can do it at
admin panel >> users & groups >> Admin Permissions >> edit an admin permissions by clicking on admin name and change permissions
Thanks for that Smile
sorry, I forgot about another SQL query
UPDATE mybb_usergroups SET cancp =1 WHERE gid =4
(2013-05-13, 02:54 PM).m. Wrote: [ -> ]sorry, I forgot about another SQL query
UPDATE mybb_usergroups SET cancp =1 WHERE gid =4

Thanks buddy Smile

hello I ran the: MySQL UPDATE mybb_usergroups SET cancp=1 WHERE gid=4 - via the > cPanel >> phpMyAdmin >> SQL Query >>

But still can not access the Admin panel. Sad

I have ran that query and my Admin Gid is 1 but I can not access the Admin control HELP! Sad

Hello I ran that query but i don't know what my Admin Gid is, so does that not mean that if I ran that, now the user group under 4 will have access to my Admin Cp???


PLEASE HELP!
if you have not changed group IDs then administrators group Id is 4

three important SQL queries related to admin panel access are
UPDATE mybb_users SET usergroup='4' WHERE uid='your uid'
if you are main administrator of your forum then your uid = 1

UPDATE `mybb_usergroups` SET `cancp` = '1' WHERE `gid` = '4'; 
above query means that whoever is in group ID 4 can have access to admin panel.
they see admin panel link along with other links on header welcomeblock.

DELETE FROM `mybb_datacache` WHERE `title` = 'usergroups'; 
above query removes user groups from datacache (it rebuilds later)

you should also take care of prefix used for your MyBB database. it is assumed that mybb_ is the prefix
(2013-05-13, 05:18 PM).m. Wrote: [ -> ]if you have not changed group IDs then administrators group Id is 4

three important SQL queries related to admin panel access are
UPDATE mybb_users SET usergroup='4' WHERE uid='your uid'
if you are main administrator of your forum then your uid = 1

UPDATE `mybb_usergroups` SET `cancp` = '1' WHERE `gid` = '4'; 
above query means that whoever is in group ID 4 can have access to admin panel.
they see admin panel link along with other links on header welcomeblock.

DELETE FROM `mybb_datacache` WHERE `title` = 'usergroups'; 
above query removes user groups from datacache (it rebuilds later)

you should also take care of prefix used for your MyBB database. it is assumed that mybb_ is the prefix


Thanks so much for your help, I managed to get it fixed. Smile