Add check for wp author when connecting a photo

This code adds:
Permissions for adding photo to a wallpost
Sweet testing