Inline Edit and Delete

edited February 2012 in Feature Requests
I'm trying to keep my less savvy users out of trouble.

Inline edit -- I allow them to edit a record, but I don't want them to be able to delete it.

Is there any way to optionally not show the delete button?


  • edited 5:16PM
    It looks like there was an issue with that button still appearing even if they don't have the permission. I've posted an update to the repo to fix that.

    To set edit, publish and delete permissions for a module, you must specify them in the module's config like so:
    'permission' => array('edit' => 'my_module', 'publish' => 'my_module_publish', 'delete' => 'my_module_delete'),
    Then you must create those permissions in the admin and assign them to the user.
  • edited 5:16PM
    Thanks ...
Sign In or Register to comment.