Fixed edit views.

A bug doesn't seem to allow permissions to be read correctly in listing.