In my list view I want the edit button to be appeared only on records on which the user has edit rights.
So, if the list shows 5 records, and the user has edit rights only for one record, the edit button to appear only on this record 's row, and not on the others.
In my template I used:
Code: Select all
if(JFactory::getUser()->authorise('core.edit', 'com_custom.adv.' . $item->id)){
...show Edit button
}
In the assets table, field 'rules' things seem ok.
What should I check?