Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41166

assign -> the export to portfolio button should not be shown if the user has not the right to export

XMLWordPrintable

    • MOODLE_25_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-41166-master
    • Hide
      1. Enable portfolios in advanced settings
      2. Enable the file download portfolio plugin
      3. Create an assignment
      4. As student submit a response to the assignment
      5. As student, verify you can see the portfolio buttons to export your assignment files
      6. Log out of student
      7. As admin, edit the student role to remove the mod/assign:exportownsubmission capability
      8. Log back in as student
      9. VERIFY: you can no longer see the export buttons
      Show
      Enable portfolios in advanced settings Enable the file download portfolio plugin Create an assignment As student submit a response to the assignment As student, verify you can see the portfolio buttons to export your assignment files Log out of student As admin, edit the student role to remove the mod/assign:exportownsubmission capability Log back in as student VERIFY: you can no longer see the export buttons

      • Enable and configure Mahara for the Moodleinstallation
      • students don't have the right to export their assignments to Mahara
        -> mod/assign:exportownsubmission is not set
        -> moodle/portfolio:export is not set
      • add an online assignment with all the default configuration

      when a student adds a submission there is the button 'export to portfolio'

      add to line 2152 in assign/locallib.php

      if (has_capability('mod/assign:exportownsubmission', $this->context)) {

            poltawski Dan Poltawski
            kkrueger Katja Krüger
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Jetha Chan Jetha Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.