check permissions of edges leading out of "corner" vertice. fixes #1105