Unique instance of activity module in course

Unique instance of activity module in course

by Jean-Roch Meurisse -
Number of replies: 2
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi,

Is there a way to allow only one instance of a specific module per course?


Thanks in advance

Average of ratings: -
In reply to Jean-Roch Meurisse

Re: Unique instance of activity module in course

by lior gil -
Picture of Core developers

Not that I'm aware of.

However, you can achieve it by removing the module's "addinstance" capability from all roles except a few selected users/roles. That way, only those users will be able to add instances of this module.

In reply to lior gil

Re: Unique instance of activity module in course

by Jean-Roch Meurisse -
Picture of Core developers Picture of Plugin developers Picture of Testers

Thanks for your answer. I'm afraid I'll have to find another solution sad