Added integration tests for permissions editing - Fixes #377.

Tweaked permissions edit view layout.