GUACAMOLE-358: Allow settings page to load even if permissions cannot be loaded.

This commit is contained in:
Nick Couchman
2017-08-11 12:57:41 -04:00
parent a5ebc07349
commit 252c4478b4

View File

@@ -192,6 +192,9 @@ angular.module('settings').directive('guacSettingsPreferences', [function guacSe
$scope.canChangePassword = PermissionSet.hasUserPermission(permissions,
PermissionSet.ObjectPermissionType.UPDATE, username);
})
.error(function permissionsFailed(error) {
$scope.canChangePassword = false;
});
/**