diff --git a/js/app/controllers/credential.js b/js/app/controllers/credential.js
index 70105c47..1a4a7adb 100644
--- a/js/app/controllers/credential.js
+++ b/js/app/controllers/credential.js
@@ -126,7 +126,8 @@ angular.module('passmanApp')
$scope.hasPermission = function (acl, permission) {
if (acl) {
- return acl.hasPermission(permission);
+ var tmp = new SharingACL(acl.permission);
+ return tmp.hasPermission(permission);
} else {
return true;
}
diff --git a/templates/views/show_vault.html b/templates/views/show_vault.html
index cec1293d..9ef72260 100644
--- a/templates/views/show_vault.html
+++ b/templates/views/show_vault.html
@@ -74,7 +74,7 @@
-
+
{{ ::credential.label}}