GUACAMOLE-220: Use effective permissions to test user access to resources.

This commit is contained in:
Michael Jumper committed 2018-04-19 15:29:11 -07:00
1 parent dfb07edf29
commit 393e1ab647
15 files changed
+155 -90

No files matched your search

@@ -199,7 +199,7 @@ angular.module('manage').controller('manageConnectionController', ['$scope', '$i
});
// Query the user's permissions for the current connection
permissionService.getPermissions($scope.selectedDataSource, authenticationService.getCurrentUsername())
permissionService.getEffectivePermissions($scope.selectedDataSource, authenticationService.getCurrentUsername())
.success(function permissionsReceived(permissions) {
$scope.permissions = permissions;