sync photo permissions with the attached item whenever they change.