MDL-31089 mod_forum: Filtering non-visible groups
MDL-31089 groups: New function to get course modules allowed groups