Hi,i want to design rights module in my website, the rights-setting page may likes this :
UserName(label):
news page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)
files page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)
products page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)
users page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)
submit(button) cancel(button)
As you know,one page's code needn't to change until its function changes,but now,if I add a new page , the rights-setting page need to add a new row manually,and I delete one page ,the rights-setting page need to delete a row manually.Pls tell me is there any way let rights-set page get all of the website pages info(class name)?
.