mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Ticket #263: Make sure to compare the correct object types in the group usage test.
This commit is contained in:
@@ -347,7 +347,8 @@ public class PermissionCheckService {
|
||||
return false;
|
||||
|
||||
// Verify that the desired usage matches the type.
|
||||
return connectionGroup.getType().equals(usage);
|
||||
return MySQLConstants.getConnectionGroupTypeConstant(
|
||||
connectionGroup.getType()).equals(usage);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user