Ticket #263: You need READ to be able to connect to a group.

This commit is contained in:
James Muehlner
2013-08-07 21:58:30 -07:00
parent 419166b3a1
commit a7f45e8244

View File

@@ -176,6 +176,11 @@ public class MySQLConnectionGroup extends AbstractConnectionGroup {
// Verify permission to use the connection group for balancing purposes
permissionCheckService.verifyConnectionGroupUsageAccess
(this.connectionGroupID, this.userID, MySQLConstants.CONNECTION_GROUP_BALANCING);
// Verify permission to delete
permissionCheckService.verifyConnectionGroupAccess(this.userID,
this.connectionGroupID,
MySQLConstants.CONNECTION_GROUP_READ);
return connectionGroupService.connect(this, info, userID);
}