Revert "Only show signing UI when namespace is explicitly whitelisted"
85d382cd84
This commit is contained in:
parent
85d382cd84
commit
75c1533aec
4 changed files with 3 additions and 11 deletions
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
|
||||
<!-- Signing and Trust -->
|
||||
<div ng-if="repository.kind == 'image' && signingWhitelisted(repository)">
|
||||
<div ng-if="repository.kind == 'image'">
|
||||
<repository-signing-config repository="repository"></repository-signing-config>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -90,10 +90,6 @@ angular.module('quay').directive('repoPanelSettings', function () {
|
|||
$scope.repository.is_public = newAccess == 'public';
|
||||
}, ApiService.errorDisplay('Could not change visibility'));
|
||||
};
|
||||
|
||||
$scope.signingWhitelisted = function(repository) {
|
||||
return Config.SIGNING_NAMESPACE_WHITELIST.indexOf(repository.namespace) !== -1;
|
||||
};
|
||||
}
|
||||
};
|
||||
return directiveDefinitionObject;
|
||||
|
|
Reference in a new issue