mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-358: Allow settings page to load even if permissions cannot be loaded.
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user