catalyst / moodle-quizaccess_seb

Plugin to integrate Safe Exam Browser into the quiz activity. This plugin is part of 3.9 Moodle standard distribution, but shared in the plugin directory for Moodle 3.7 and 3.8 https://moodle.org/plugins/quizaccess_seb
4 stars 5 forks source link

remove option yes-Configure manually in the drop down if none of the configurations are allowed #195

Closed isacsonk closed 4 years ago

isacsonk commented 4 years ago

How to reproduce

For the teacher set all Safe Exam Browser Access rules to prevent except for Bypass the requirement to view quiz in Safe Exam Browser. and Modify Safe Exam Browser quiz setting: Require Safe Exam Browser. --> as a teacher you see following in the quiz settings: No Yes- Configure manually Yes- Use SEB client config image

Requirement

Since you have removed all the capabilities to configure manually it doesn't make much sense to show the selection "Yes- Configure manually" if all possibilities to configure manually have been removed, "Yes- Configure manually" should be removed in the drop-down of "Require the use of SEB"

dmitriim commented 4 years ago

@isacsonk Good one!

isacsonk commented 4 years ago

tested --> great, now "Yes- Configure manually" does not turn up anymore, if you have disabled all configuration possibilities for manual configuration for the teacher.