I need to restrict my users access to course contents based on their authentication type (manual, LDAP and so on). I think it would be possible to do that by modifying this module that is written by Alexander Bias. The problem is that I am a newbie in PHP and I don't know what changes I need to make. Please help me.
Thank you Darko for your help. Would you please tell how can I do that?
When I want to define a new role there is no option to create role based on the authentication types. I have 12799 users that increase almost every day and I need to roles assign automatically as a user joins the moodle.
Thank you in advance.