Howard Miller による投稿

画像 Core developers 画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Peer reviewers 画像 Plugin developers
It's not my plugin. I've never used it. I just did a search for any likely looking plugins.

To answer your question generally - Moodle has no concept of a "contract based" or "non contract based" users, so how would any plugin be able to differentiate? It would be possible to (for example) use a custom profile field but you are almost certainly going down the road of custom plugin development.
画像 Core developers 画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Peer reviewers 画像 Plugin developers
I've never heard of Rosariosis - but I did find, https://gitlab.com/francoisjacquet/rosariosis/-/wikis/Moodle-integrator-setup

Are these the instructions you are following? Where is it going wrong?
画像 Core developers 画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Peer reviewers 画像 Plugin developers
To take the obvious objection first. 20 users log in, all go to lunch and do not log out (nobody ever logs out). Nobody else can log in until the first lot "time out" (in some sense).

Personally, I would take a step back and think about why you want to restrict users like this and think if there is a more manageable way of doing it.