Need to start some functional tests for photos_access. Maybe check password protected node page, album page, photos_image entity page and raw image path (they should all lead to enter password page if not owner). Same for locked (access denied if not owner). Add test for collaborator/designated users feature.

  1. Need at least two users.
  2. Create photos node (set privacy as needed).
  3. Add image(s).
  4. Switch user.
  5. Check paths.
  6. Change privacy settings.
  7. Check paths.

Comments

Nathaniel created an issue. See original summary.

  • Nathaniel committed ee0f496 on 8.x-5.x
    Issue #3104277 by Nathaniel: Add functional tests for photos_access...
nathaniel’s picture

Making progress. Still need to test direct access to raw image file.

  • Nathaniel committed 6c76a00 on 8.x-5.x
    Issue #3104277 by Nathaniel: Add more functional tests for photos_access...
nathaniel’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.