Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

**SOLVED** No Admin Permissions


Go to End


940 Views

Avatar
ambient

Community Member, 130 Posts

29 May 2014 at 12:43am

Edited: 29/05/2014 2:48am

Okay I've done something incredibly stupid, I was changing permissions for admins in the Security section.

Long story short, I unticked full administrative rights for admin and pressed save. D'oh!!

Now I can't access the Admin section at all. Any idea how I can reinstate the permissions?

I had a poke around php MyAdmin but couldn't figure it out.
AAAAARRRGGGHHHH!!!!!

UPDATE **SOLVED**
Phew!! I found a solution from Pigeon here:
http://www.silverstripe.org/general-questions/show/8446

Security::setDefaultAdmin(admin, password)

I didn't think it would work cause it was the Administrators permissions that I removed but this sets up a whole new Administrators section with full permissions and I was able to undo my mistake :)