Documentation
Access capabilities and user permissions

Access permissions in WordPress are based around Roles and Capabilities.

TablePress also fully supports and uses this system, by performing relevant permission checks before executing desired user actions. For this, it also uses custom access capabilities that are documented below. These can be used to control which user roles can do what in TablePress.

Access capabilities assigned by TablePress

The user roles “Author”, “Editor”, and “Administrator” get the access capabilities

  • tablepress_edit_tables
  • tablepress_delete_tables
  • tablepress_list_tables
  • tablepress_add_tables
  • tablepress_copy_tables
  • tablepress_import_tables
  • tablepress_export_tables
  • tablepress_access_options_screen
  • tablepress_access_about_screen

Furthermore, the “Administrator” and “Editor” roles get the

  • tablepress_import_tables_url

capability. In addition, “Administrators” also get the capability

  • tablepress_edit_options.

Modifying and using access capabilities

The Members and the User Role Editor plugin are popular choices to assign capabilities to existing or custom user roles. They both allow adding or removing these permissions to and from user roles.