Show a view on a custom nodetype only if the logged in user is the author of this node I'm using Drupal 7, with the Views module version 3, and the Context module (no block).

I have a draggable view I want to show on a gallery node. The draggable view shows the image nodes belonging to this gallery node for sorting.

Now I want to limmit the display of this view to the author of the gallery node. (Only the author of the gallery node should organize the image nodes.) I think this could be done with context or relationship (and some coding) inside views, but I don't know how.

I know how I can display the view only on the gallery-node (via Context module). So I only need a way to limit the display of the view to the author of the gallery.

Maybe someone has a solution.
You just need to add an argument to this, passing the logged in user's uid. In Drupal 6, views 2 you used to have to reverse engineer this and add custom php into the argument handling code but this is built into Views 3. In your view: 


Add Contextual filter, 'Content: author uid'
Select 'provide default value', type 'user id from logged in user'


This will find the uid of the logged in author and pass that as an argument to your view, restricting the view results to only items that were authored by the owner of that node.