bdecentgmbh / moodle-format_kickstart

Kickstart adds a powerful course template engine to moodle – create courses easily and produce high quality courses, consistently.
http://bdecent.de/kickstart
5 stars 3 forks source link

Changing to Kickstart course format: only allowed for specific roles #39

Open AntonT76 opened 2 years ago

AntonT76 commented 2 years ago

Hello,

our teachers are allowed to change course formats (topic format, grid format, ...). Is it possible to restrict changing to course format "Kickstart" for specific roles? In Moodle role management I didn't find any possibility.

Reason:

br, Anton

stefanscholz commented 2 years ago

Hi @AntonT76,

we do have two capabilities

format/kickstart:import_from_template (free) local/kickstart_pro:import_other_courses (pro)

These two control wether a user can import templates (first one) and wether a user can import content from other courses (second one).

Neither of the capabilities though prevent the user from selecting the format in the first place. I have never seen a format to have a capability to "use" it in general.

I can check with my developers if it's possible.

One side note: We do have a setting where admins can decide wether existing contents are deleted before importing a template or if it should be merged with the existing content. In the latter case, no contents would be deleted.

Best Stefan