mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-5: Move single space from UserTunnel to PermissionSetResource.
This commit is contained in:
@@ -212,7 +212,7 @@ public class PermissionSetResource {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create sharing profile permission if path has sharing profileprefix
|
// Create sharing profile permission if path has sharing profile prefix
|
||||||
else if (path.startsWith(SHARING_PROFILE_PERMISSION_PATCH_PATH_PREFIX)) {
|
else if (path.startsWith(SHARING_PROFILE_PERMISSION_PATCH_PATH_PREFIX)) {
|
||||||
|
|
||||||
// Get identifier and type from patch operation
|
// Get identifier and type from patch operation
|
||||||
|
@@ -98,7 +98,7 @@ public class UserTunnel extends StreamInterceptingTunnel {
|
|||||||
Directory<ActiveConnection> activeConnectionDirectory = userContext.getActiveConnectionDirectory();
|
Directory<ActiveConnection> activeConnectionDirectory = userContext.getActiveConnectionDirectory();
|
||||||
Collection<String> activeConnectionIdentifiers = activeConnectionDirectory.getIdentifiers();
|
Collection<String> activeConnectionIdentifiers = activeConnectionDirectory.getIdentifiers();
|
||||||
|
|
||||||
// Search all connections for a tunnel which matches this tunnel
|
// Search all connections for a tunnel which matches this tunnel
|
||||||
for (ActiveConnection activeConnection : activeConnectionDirectory.getAll(activeConnectionIdentifiers)) {
|
for (ActiveConnection activeConnection : activeConnectionDirectory.getAll(activeConnectionIdentifiers)) {
|
||||||
|
|
||||||
// If we lack access, continue with next tunnel
|
// If we lack access, continue with next tunnel
|
||||||
|
Reference in New Issue
Block a user