It means give the service permission to access the photos. Perhaps this is something the user can do through a setup or settings screen. For example, you might have to tick a box saying "allow the XYZ service to access photos".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.