I've installed the Articles module from the simple modules tutorial and I'd like to know if it's possible to prevent certain users from accessing specific categories.
I've set up a user account that only has access to the Articles module and I'd like that user to only have access to one category that's already been created by the admin.
Not sure how to modify this...can anyone point me in the right direction?
Comments
$this->db->where('users_id', $this->fuel_auth->valid_user('id'));
Additionally, you can add that specific where logic to your models _common_query() method to do filtering on all the model's "find_" methods.