Main Menu Block Activity not accessible by students - Moodle 3.5

Main Menu Block Activity not accessible by students - Moodle 3.5

by Dave Emsley -
Number of replies: 1

Having the same issue as https://moodle.org/mod/forum/discuss.php?d=357752

Basically I have a questionnaire on the Main Menu block on the front page for evaluations but students cannot see it at all.  Yet they can see the block and they can see the site news in the same block.

Any clues please?

Cheers

Dave

Average of ratings: -
In reply to Dave Emsley

Re: Main Menu Block Activity not accessible by students - Moodle 3.5

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
    // Ability to see that the questionnaire exists, and the basic information
    // about it.
    'mod/questionnaire:view' => array(
        'captype' => 'read',
        'contextlevel' => CONTEXT_MODULE,
        'legacy' => array(
            'student' => CAP_ALLOW,
            'teacher' => CAP_ALLOW,
            'editingteacher' => CAP_ALLOW,
            'coursecreator' => CAP_ALLOW,
            'manager' => CAP_ALLOW
        )
    ),

So your questionnaire user would need to have be s student on the front page or you would need to add the above capability to the authenticated user role. At least (I've not tried it)
Average of ratings: Useful (1)