nozzlenuts
12-09-06, 11:28 PM
Hi i just started using dot project and i guess i made a big blunder by accidentally logging in as a admin and deleting the permissions or role of the admin as an administrator..Now i am not able to add users or any of that stuff..Is there a way to rectify my mistake...
caseydk
13-09-06, 01:38 AM
INSERT INTO `permissions` (`permission_user`, `permission_grant_on`, `permission_item`, `permission_value`) VALUES (1, 'all', -1, -1);
That first 1 should be replaced with the user_id of your admin account. If it's a default install, it will be 1.
Now don't do that again. ;)
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.