TableTools Buttons and Access Control

TableTools Buttons and Access Control

franks59franks59 Posts: 16Questions: 2Answers: 1

Has anyone done any work, or have any ideas on how to implement some sort of access control wrt to the TableTools buttons?

Is the general idea just to have separate .js files included based on the user role via a mix of html and php tags?

Frank

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    Hi Frank,

    At the moment you need to define different aButtons arrays for the buttons that you want to display. Exactly how you do that will depend a lot on what your server-side environment is and how you interface the access rights with Javascript.

    In a few weeks I'm going to be starting work on a replacement for TableTools that will allow buttons to be dynamically shown and hidden which might be a useful alternative for you.

    Allan

  • franks59franks59 Posts: 16Questions: 2Answers: 1

    Thanks Allan, looking forward to the update.

    Frank

This discussion has been closed.