Default OG-Role in Courses

major
Hi, when user subscribes to course (group), user automatically gets OG-Role: student. Where I can change this setting? Is it a rule or a custom module?
Profile picture for user James Aparicio
James Aparicio

Hi major,

Hi major,

Inside opigno module, opigno.module, you have "opigno_form_alter". that function adds a new submit function that is also inside that function "opigno_set_user_as_student".

Best regards

major

Thanks James, great support

Thanks James, great support as always! For some reason I was missing this function in my setup and users didn't have any og-role after subscription, but now it works!