Delete pipeline permission check and better error message. Closes #1005.