Michael D Wed Jul 04 11:56:27 -0400 2012

Subject: Three tables relationship

I am working on a permissions system. I have three tables. groups (id|name), permissions(id|permission) and permissions_map(group_id|permission_id).

In the Permission class I want to receiv a users permissions by checking his group_id and by that get the permissions from permissions_map.