If 'restrictedmodulesfor' is set to 'All courses', 'restrictbydefault' is set and 'defaultallowedmodules' are selected, courses created by a user with 'course creator' role don't contain any modules.
1. visit 'Security' 'Modules security' in the 'Site Administration' menu
2. set 'restrictmodulesfor'
3. set 'restrictbydefault'
4. select some 'defaultallowedmodules'
5. save changes
6. change to a user with a 'course creator' role
7. create a new course
If you want to edit the course afterwards you don't have any ressources/activities available.
I would expect the course to have at least the defaultallowedmodules in it.
This seems related to