Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
Roles & Updating
posted

I have an iggrid, in our initial development, enabled updating (add new row, delete row, edit row).   We now are implementing multiple roles, one of which is a view only role.  I am trying to determine the best way to handle this. 

My initial thought was attempting to modify the javascript code to remove these options (though my initial attempts did not work), my other thought was having two different javascripts one that initialized with the updating enabled, the other would not have it.

What is the best practice when attempting to change permissions based on a user's role.   (note this is an MVC application)

Thanks,

Brian

Parents
No Data
Reply
  • 15320
    Offline posted

    Hello Brian,

    I am a little confused form your explanation. You want to restrict the access to updating to specific users, is that the case? If this is the case, then I believe that this has nothing to do with the Updating and the igGrid component itself and you need to do it based on your user roles in your application. If I can provide you with further assistance, please let me know.

    Regards,
    Tsanna

Children
No Data