Github user necouchman commented on a diff in the pull request:
https://github.com/apache/incubator-guacamole-client/pull/179#discussion_r134770947
--- Diff:
guacamole/src/main/webapp/app/settings/directives/guacSettingsPreferences.js ---
@@ -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;
--- End diff --
So is there some additional checking I should do on the contents of the
error object to see what's happening there, and do some interpretation? Are
there other specific errors that you'd expect to see coming out of this
particular REST call?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---