Updates basic routing through repository and its permissions.
Adds PathPermissionView.
Some more stuff...