Hi,
Im starting to develop components and would like to understand the user->authorize("core.edit.own", "...") function.
My question is what do I need to have implemented / declared to make it work?
Lets say I have multiple views.
One view set is Cars and car.
When I list the cars i want to show only the public cars and the cars owned by the user.
I have a "created_by" field in every database car record.
If I call authorize("core.edit.own", "<component>.<view-item>.id"), where do I have to declare the "view-item" permission?
Is this written in the JDatabase or JTable core?
Thank you for your time
Patrick