INN / umbrella-inndev

Umbrella repository for inn.org
GNU General Public License v2.0
0 stars 1 forks source link

Custom code for restricting access to URL based on cookies #161

Open kaylima opened 4 years ago

kaylima commented 4 years ago
  1. Create code that will be fired as part of Gravity Forms submission to limit viewing a URL based on cookies.

  2. Design a way to clone this form/process.

Expected user flow:

  1. Click button to go to URL on learn.inn.org (for example, the video section)
  2. Fill out form (email, etc.)
  3. Get access to a resource (URL)
  4. Send resource URL to friend, but then they can't see it due to cookies... they have to fill out the form to get access

@joshdarby

kaylima commented 4 years ago

@joshdarby you'll need to create a form on learn.inn.org (staging) using gravity forms for us to test

joshdarby commented 4 years ago

@kaylima Will there be any cases where 1 cookie grants access to multiple pages? Or will it only ever grant access to 1 page?

If it does need to grant access to multiple pages, will those pages always have a parent/child relationship?

kaylima commented 4 years ago

@joshdarby let's, for now, assume it's access to 1 page only