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

Link "Show/edit current subscribers" on a forum page is controlled by a wrong capability

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 1.9
    • Roles / Access
    • None
    • any OS
    • Any
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      Link "Show/edit current subscribers" on a forum page is controlled by a wrong capability:

      see mod/forum/view.php, section print_box('subscription'):
      in two places there is asked for "has_capability('moodle/course:manageactivities', $context)" to control the links concerend with subscription.

      Shouldn't it be: "has_capability('mod/forum:viewsubscribers')"??

      Gisela

      Attachments

        Activity

          People

            poltawski Dan Poltawski
            ghillenb Gisela Hillenbrand
            Nicolas Martignoni Nicolas Martignoni
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08