Ticket #263: Group admins can use connection groups however they wish.
This commit is contained in:
1 parent
a3d7f23c9e
commit
7e334e3559
1 file changed
+5
+5
@@ -333,6 +333,11 @@ public class PermissionCheckService {
|
|||||||
if(checkSystemAdministratorAccess(userID))
|
if(checkSystemAdministratorAccess(userID))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
// A connection group administrator can use the group either way.
|
||||||
|
if(checkConnectionGroupAccess(userID, connectionGroupID,
|
||||||
|
MySQLConstants.CONNECTION_GROUP_ADMINISTER))
|
||||||
|
return true;
|
||||||
|
|
||||||
// Query the connection group
|
// Query the connection group
|
||||||
MySQLConnectionGroup connectionGroup = connectionGroupService.
|
MySQLConnectionGroup connectionGroup = connectionGroupService.
|
||||||
retrieveConnectionGroup(connectionGroupID, userID);
|
retrieveConnectionGroup(connectionGroupID, userID);
|
||||||
|
|||||||
Reference in new issue
Block a user