Add inheritance to priv_get_groups