The code should not have affected the Administrators functions (logged in as a Administrator) in CP as those settings were never touched. Unfortunately if you logged in as the selected member you won't be able to view anything and will get the error message that you are not allowed. Other than that the CP settings were not compromised.
I'll let you know if there is a breakthrough.