Description
Currently RS Group pre/post hooks are called from RSGroupAdminServer.
e.g. RSGroupAdminServer#removeRSGroup :
if (master.getMasterCoprocessorHost() != null) { master.getMasterCoprocessorHost().preRemoveRSGroup(name); }
RSGroupAdminServer#removeRSGroup is called by RSGroupAdminEndpoint :
checkPermission("removeRSGroup");
groupAdminServer.removeRSGroup(request.getRSGroupName());
If permission check fails, the pre hook wouldn't be called.