Enable kernels by group ID

Consider a large number of evolving users and various groups. Batch processing account modifications is no problem. As Linux root, looking for script entry that enables certain kernels by group ID.

Here is the gist of the idea:
runuser -g groupID -c ‘/opt/jupyterhub/bin/jupyter kernelspec install --group --name theKernel’

Would like to keep system-wide kernel installations, with centralized control of kernels and their respective resources.