Granular group-based permissions for anonymous and logged in users

Does this work for the groups type in object settings too?