One way of doing it would be to have 2 tables:
Table: users
user_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY
level_id INT NOT NULL
username VARCHAR(40)
password VARCHAR(40)
Table: userlevels
level_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY
levelname VARCHAR(40)
root TINYINT NOT NULL
permission1 TINYINT NOT NULL
permission2 TINYINT NOT NULL
permission3 TINYINT NOT NULL
The idea is that you would lookup the user's level, and check for the permissions.
For example, 0 could mean no access for that page, 1 could mean read access, 2 read and write access.
If the user's userlevel has root, then he/she can access everything.