When we create the administrator role, we should add UID 1 to it.
Relevant code from standard core install profile:
// Assign user 1 the "administrator" role.
db_insert('users_roles')
->fields(array('uid' => 1, 'rid' => $admin_role->rid))
->execute();
Comments
Comment #1
nedjoNow implemented.