GUACAMOLE-220: Use effective permissions to test user access to resources.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user