Hi, I'm want to know if there's a way I could like show data in a CRUD field like I would normally but have it limited to the ones this specific user has access to.
To clarify: a user can create items in a certain category, I want users to be able to see only the items in their category, and not all categories.
Is there a way to do this?
Showing data based on logged in user
Started by Firenter, 04 August 2012 - 10:03 AM
- Single Page
Posted 04 August 2012 - 10:03 AM
Posted 05 August 2012 - 06:03 AM
$crud->where() or the add,edit,view _fields is what you need.
I don't know how your system is setuped but after you load the crud you check your user permission and based on them you change the display.
I don't know how your system is setuped but after you load the crud you check your user permission and based on them you change the display.