Ticket #263: Make sure to compare the correct object types in the group usage test.
This commit is contained in:
1 parent
a5d22cb10d
commit
87b1b56b7f
1 file changed
+2
-1
+2
-1
@@ -347,7 +347,8 @@ public class PermissionCheckService {
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Verify that the desired usage matches the type.
|
// 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