This is strange, as the SQL gives complete access to the user with ID 1 and none to any other users until the first user grants permissions. So I was wondering whether you might actually have ID 2 or later, and no permissions set up.
This is very unlikely as you would see evidence of it such as an internal server error if it didn't like it or unstyled content if it didn't care.
Very unlikely as it wouldn't be much of an access control system if you could bypass it that easily, but worth a try just to see the result. If you type
www.yourstorename.com/admin/admin_control.php?adminID=1 you should get a screen telling you that permission has been denied, whether you are logged in or not. If you get anything different in either of those situations, it would give us a big clue.
Otherwise can you take a peek into your database, and specifically your admin_visible_headers table, and tell me which header_id/admin_id pairs you see there?
Bookmarks