Support » Plugin: TablePress » Nondisplay hazardous option from all users

  • Resolved kimipooh


    TablePress is very nice plugin, but I afraid that there are some remove buttons for removing the table data in the admin page.

    Even if the user has the administrator, he/she may accidentally push the delete button.
    The plugin does not have the revision function, so I think that the data may be removed easily.

    Therefore, I suggest about the following idea.

    1. Permission to “Delete” function.
    Selection: Admin, Editor, and so on.

    2. Diable “Delete” functions tentatively.
    If the check on, all users (including administrator) cannot access to the “Delete” functions.

    3. Allow Permission about “Delete row” and “Delete col” in “Delete” functions.
    Selection: Admin, Editor, and so on.

    For example, the editor can only access to “Delete row” and “Delete col” in “Delete” functions. The contributor cannot access to all “Delete” functions.
    The administrator can access to all “Delete” functions, but normally, he/she only access to “Delete row” and “Delete col”.

    Basically, I want to restrict the “Delete” functions, but some users need to get the administration permission due to some other plugin……

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg



    thanks for your question! Sorry for the late answer. As I was on vacation, I didn’t have a chance to reply earlier.

    It is possible to prohibit certain users roles from deleting a table, as TablePress supports WordPress capabilities. You can for example use the “Role Manager” component of the “Members” plugin from to take away the “tablepress_delete_tables” capabilities from certain user roles.

    Prohibing deletion of rows or columns is however not possible, as that’s done in JavaScript. Also, as one could simply reload the page before saving, this should not be a problem. And it would actually not prevent data loss, as a user could delete content from a table by simply using the backspace or delete keys.


Viewing 1 replies (of 1 total)
  • The topic ‘Nondisplay hazardous option from all users’ is closed to new replies.