caneditrow plugin

thellie

Member
Hi, me again... :)
I've added the caneditrow plugin to my form, eventually getting the PHP eval to work.

Anyway, I've hit another issue with viewing records.

If the user 'caneditrow', then they can edit the record via the edit button. But, they cannot view the details via the details button. If the user cannot edit row, they have the same issue with the view.

I've attached screenshots of the editable view, the detail view, and the list access setup. The access for the plugin is registered, which is the access for those who can fill in the form.

I would think it's an access conflict, but I don't want to start messing about with it too much, now that it's working.

What I would like to have, is canedit rows to be able to view the details as well, and the rows which cannot be edite, to have the detail view button hidden.

Does that all make sense?

n.b. I think the help page for the plugin is out-of-date, because the placeholder example doesn't work. You just need a normal placeholder.

ie {list___skill_raw} , not the example: {list_plugin_caneditrow___skill_raw}
 

Attachments

  • user can edit.png
    user can edit.png
    354.4 KB · Views: 107
  • user cannot edit.png
    user cannot edit.png
    368.7 KB · Views: 95
  • access.png
    access.png
    27.1 KB · Views: 99
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top