Quick question. I have a system in which only lessons need to be created. is it possible to disallow the creation of all activities and resources apart from lessons for all or some roles?
You can prevent teachers from creating activities by modifying the settings in Site administration -> Security -> Module security. You can also disable activities/resources site-wide by hiding them in Site Administration -> Modules -> Activities -> Manage activities. Have a look at http://docs.moodle.org/en/admin/setting/modulesecurity.
I have a similar issue.
I want to give only a few teachers (not all of them) access to a specific activity for evaluation purpose.
I know I can control access to modules through Module security settings. But it doesn't suit my needs.
Any hack or workaround possible?
Groups and Groupings will work for this. Remember that you need to disable the teacher's default capability to view all groups.
Maybe I wasn't clear enough.
I want to add an activity module, but I don't want all the teachers to see it in the dropdown Activity list. Just a few testers.
François
Ah. That's beyond my knowledge. I would just make a separate Moodle because that's the only way I know to do it.
Re: Resource and activity creation restrictions
Just following Ben to say (hi Ben!) I think this is quite a difficult thing to achieve on one Moodle - some teachers see some activities and others see others in one Moodle. I agree -if you have some activity modules you want to test maybe you should just set up a separate Moodle.
In what way do the Module security settings not meet your needs?
1- If I hide a module, then nobody sees it but the admin. That doesn't suit my needs.
2- I have another one. Yesterday, I tried to set up security for a module, but it doesn't seem to work. I want the BigBlueButton module to be accessible only in one course. Here are my settings (already posted in another thread ):

Then when I log in a teahcer account, I can still see the BBB module in the Activity dropdown. There is something I might not understand, and the Moodle docs about Module security is not that clear.
François
Re: Resource and activity creation restrictions
I just understood how it works. You cannot hide a module in courses that are already created through module security. The settings only apply to newly created courses.
François
Well, if you want to hide the module from existing courses, you need to go into that course, and edit the setting.