any instructor can start the calss

Vinayaka K
2007-12-10
2013-05-01
  • Vinayaka K

    Vinayaka K - 2007-12-10

    Hi

       As you told I have changed "if(dimdim_is_teacher($dimdim))" to "if(dimdim_is_teacher($dimdim))" in "view.php" file available at "\moodle\moodle\mod\dimdim".

       Now the problem is any instructor can start the meeting. ButI want to restrict only for that perticular instructor to start the class, who has created that class.

    please help
      Thanks
    Vinayaka K

     

     
    • Gordon

      Gordon - 2008-09-16

      Hi

      If you leave the "if(dimdim_is_teacher($dimdim))" as it is but change /db/access.php adding:
         ,

          'mod/dimdim:manage' => array(

              'captype' => 'write',
              'contextlevel' => CONTEXT_MODULE,
              'legacy' => array(
                  'teacher' => CAP_ALLOW,
                  'editingteacher' => CAP_ALLOW,
                  'admin' => CAP_ALLOW
              )
          )

      and re-install the dimdim module. You will be able to control the access correctly through the moodle roles.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks