orschiro I am not entirely sure if this is going to be the best method, but this is what I would try:
- make a backup of the database
- delete all rows from
group_permissions
- log in as an admin in the admin area
- go to the permission grid and set it up anew
The admin has full access no matter what permissions are provided.