Hello all.
Basically I am trying to setup a permissions system on the application I am making.
I have a table that holds categories (pages) and a table that holds registered plugins (installed).
I am using Zend_Auth and Zend_Acl for this and was thinking about adding a field called aro to each table with a MD5 hash as the value. Then adding another table to hold the mappings.
i.e.
id | aro
I am curious to know the best way to go about checking whether or not the aro belongs to the categories or plugins table. Should I add a INT called which or something to the aro mapping table that is 1 or 0 ... 0 for categories and 1 for plugins?
Anyone have any suggestions? Even another approach?
TIA!