Customized geoserver.views according to new permissions
Made changes to layers.view to check for new permissions while resolving
Fixed redirect loop in edit_metadata when permission denied