Can we retrieve information on the role of the user who opens a database activity for script, which would allow to display or hide part of the document depending on the role 'student or teacher ...) thank you.
role of the user
Hello and thank you for this answer.
I tried to install this plugin but nothing appears to put place a dataform activity.
I read in a forum to have the PHP version 5.6 maximum otherwise there is a bug that blocks the activity.
Is this the correct explanation, I'm in PHP 7 with moodle 3.3.2.