What kind of problems have you all had with the master_account feature? I've had it do some weird things. Sometimes it seems to get the variable from the init file and other times it doesn't. What should we do with this?
I built it into the permissions check and removed the master_account array. I have a check so that someone always has the admin permission so everyone can't be locked out on accident.
I remember something screwing up with it...I think I was trying to check in the array, but it didn't consider it an array because it had only 1 value (user ID 1)? I could be wrong...but I remember it screwed some stuff up when I was doing some work with it...I'll try to replicate the issue. I don't really see the purpose of the "master account". I always block my ID 1 from the system and use this as a placeholder for certain logs (cron logs) and just make a second account my primary. So I have sa, system admin ID 1, and barsenault, myself, ID 2.
I never ran across that problem myself, and I was testing both admin and non-admin accounts. It's so weird that it happens to some and not others.