groups pruning method
tweaks to category permission modal