In order for Virtual Y app being tested in a short timeframe, please follow steps below
Administrator
- Login as admin
- Go to Virtual Y -> Virtual YMCA Settings -> Auth settings (/admin/openy/virtual-ymca/gc-auth-settings)
- Verify there is ""Custom provider"" option in the list
- Go to the Edit form
- Verify you can edit settings and they are saved correctly.
The form for custom authentication in Vitrual Y is working
Administrator
- Login as admin
- Go to Virtual Y -> Virtual YMCA Settings -> Auth settings (/admin/openy/virtual-ymca/gc-auth-settings)
- Under Migration Settings find link to the form where you can upload CSV file
- Prepare CSV file with some test users based on the example https://github.com/fivejars/openy_gated_content/tree/master/modules/openy_gc_auth/modules/openy_gc_auth_custom#about
- Upload CSV file
- Make sure upload was successful
- Under Migration Settings find a link to the form where you can run import
- Verify the number of processed items is equal to number of records in the CSV
- Go to People page (/admin/people)
- Verify and confirm you can see users created during import.
- Verify users have role ""Virtual YMCA""
- Verify all imported users should have status ""Blocked""
- There is a form to upload CSV file before import
- There is a form to run/rollback import new users from CSV
- After import new users created with the ""Blocked"" status.
Anonymous
- Open Virtual Y landing page
- Verify you can see a block with a sign in form (onlye two fields email and captcha)
- Verify you can enter email and access gated content
- There is a login form on the landing page
- Login form works and give access to gated content
Administrator / Anonymous
- Login as admin
- Go to Virtual Y -> Virtual YMCA Settings -> Auth settings (/admin/openy/virtual-ymca/gc-auth-settings)
- Choose ""Custom provider"" option in the list
- Go to the Edit form
- Enable checkbox (if disabled) ""Enable Email verification""
- Logout
- Go to Virtual Y landing page
- Enter email
- Verify you see a green message that verification link has been sent
- Open link from the received email
- Verify you got access to gated content
- Email verification settings provides the ability confirm email by sending a unique link that gives access to gated content
- User sess a message about sent email with instructions
- Link from the email opens gated content
- Email verification is needed only once
Administrator / Anonymous
- Login as admin
- Go to Virtual Y -> Virtual YMCA Settings -> Auth settings (/admin/openy/virtual-ymca/gc-auth-settings)
- Choose ""Custom provider"" option in the list
- Go to the Edit form
- Disable checkbox (if enabled) ""Enable Email verification""
- Logout
- Go to Virtual Y landing page
- Enter email
- Verify you got access to gated content
After entering email user gets access to gated content