Okay
  Public Ticket #1733560
Authorisation of tables.
Closed

Comments

  •  1
    paulmike73 started the conversation

    I would like to achieve the following workflow using the Gravity Forms integration for wpdatatables

    a) User Logins to a Form (using User Registration Form Add on from Gravity)

    b) User inputs some details to the main form

    c) Details are shown in wpdatatables once submitted 

    d) User logs out, they will need to login (using the same credentials as inputted in a) in order to see the details/update the details in wpdatatables. Obviously they could be expected to re-login from any device/browser. 

    I am generally ok with steps a-c, but dont know how to lock down the wpdatatables to only those users authorised through the main Gravity form login. 


    Any help much appreciated, 


    thanks

    Paul 

  • [deleted] replied

    Hi Paul,
    Thank you for your inquire.

    Unfortunately this couldn't be done with built in tools. Maybe it could be done with third party plugin which show content on the page based on use login status. Also, if you are familiar with code it code be done with code customization in our plugin. If you are not our company provide a customization as a paid services

  •  1
    paulmike73 replied

    Hi Miljko,


    Thanks for your prompt reply,

    What if I just use wpdatatables for data entry? How can I then ensure that only users who inputted data are those allowed to view/modify it? I have seen your documentation on

    https://wpdatatables.com/documentation/front-end-editing/allowing-users-to-edit-only-their-own-data/


    In the documentation it states "if you log out and log in under a different user, you will not see these roles..".  What exactly is the mechanism for logging in/logging out it is referring to?  If it is wordpress login that doesn't really make sense for Front End entry of data...?? Maybe I am missing something elsewhere in the Settings?

    Regards,

    Paul  




  • [deleted] replied

    Hi Paul,

    We are using WordPress built in user management system for that functionality which means that you need to allow your users to register  to your website. After they logged in and modify the data in the table our plugin will record their ID in the user ID column and use that ID for data filtering by the user. 

  •  1
    paulmike73 replied

    Got it, thanks for your help in setting me on the right track,



    Paul