fix holes where PP.allowEditing wasnt being honored, handle empty groups in user object