How do I filter an entityreference field based on other fields? So I'm trying to create a node that has an entityreference to another node. THing is I need that field to filter the data from an entityreference view based on three use cases.


New content. Should only show referenced nodes created by the same user.
Editing created content. Should only show referenced nodes created by the person who created the edited node
New Content as Admin - An administrator/editor should be able to add content under another users name, and it should filter and show nodes created by that user.


I've got 2 out of three but I'm not sure how to get the last one done.
Your question reminds me of this similar question you may or may not find it relevant.

Alternatively, you could use Masquarde


  The Masquerade module allows site administrators (or anyone with
  enough permissions) to switch users and surf the site as that user (no
  password required). That person can switch back to their own user
  account at any time.


Video Tutorial