• bertini

    (@bertini)


    So i use this plugin in two instances. First, a user creates a form and can see the answers in pdf form. Both the user and the admin can see the pdf with the link. All other users can’t see it.

    The second instance (problematic one) an admin fills a form about a user. Only refered user (I store user info in SESSION var) should be able to access the pdf (and the admins). How can I do this?

    Thank you very much!

    https://wordpress.org/plugins/gravity-forms-pdf-extended/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Hi Bertini,

    In your second instance you would need to assign the WordPress User ID to the Gravity From entry upon creation. This effectively assigned ownership of that entry to that particular user and they’ll be able to access the PDF when logged in.

    Thread Starter bertini

    (@bertini)

    Okay! thank you very much.

    Thread Starter bertini

    (@bertini)

    Hi, I’ve been trying to fix what you mentioned, and I think what I need to do is to edit created_by value with a gf hook. But i’m not sure how to proceed :/

    Any tips?

    Thank you.

    Thread Starter bertini

    (@bertini)

    Nevermind! Just created a presubmssion hook that modifies $POST[‘created_by’]

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Permissions’ is closed to new replies.