Improved permissions detection for the photo mode