So I’m having a little trouble (still very new to Yii) figuring out how to add accessRules based on what is in the database.
My idea is to have a table with rules together with a table for users, groups and a relation for all of these in their own tables.
So a User table, Group table, Rights table, Group_has_Rights table and a User_has_Rights table.
What’s the most effective or the best way to implement this into my application?