module.controller('DataPanel', [
	'$scope', 'pageService', function ($scope, page) {
		$scope.refreshPanel = function () {
			$scope.enabled = $scope.volumes[0] || page.auth.hasAccess('EDIT', $scope.party);
		}
	}
]);

module.controller('DataPanel', [
	'$scope', 'pageService', function ($scope, page) {
		$scope.refreshPanel = function () {
			$scope.enabled = $scope.volumes[0] || page.auth.hasAccess('EDIT', $scope.party) && page.auth.hasAuth('PUBLIC');
		}
	}
]);

Improve display check for party data/creation
Improve display check for party data/creation

See #2203.  This is still not quite right (it should be whether the
target party has PUBLIC), but the UI has no way to check that at the
moment, so this covers the most common case.
