laserlight wrote:What is your relevant database schema?
Each user has the two following relevant pieces of information:
STATUS is set to a specific code. A1 is full admin, HN is a manager for the North America Sector, HA is a manager for the Asia/Pacific Sector, HE is a manager for the Europe sector, PA for a standard user, P5 for a pending user, so on and so forth.
Each and every user is assigned a "hub", ie North America, Asia/Pacific or Europe. Each value is written into the HUB column, and the manager deals with that user.