If members of the site can only see content that has been published by their group of users then I would simply add a group_id
column to the tables containing content and filter the output by the users group.
carbontwelve said:
If members of the site can only see content that has been published by their group of users then I would simply add a
group_id
column to the tables containing content and filter the output by the users group.
So add group_id to every table? O.o Would proberbly make it easier, but it just seems... wrong xD
You could in that case have one polymorphic table for group permissions - its the same thing but concentrated into one area.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community