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

"Sorry, guests are not allowed to post" is legacy behavior

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Using roles and capabilities, it should be possible to allow Guests to participate in forums, just as it is possible to allow them to attempt quizzes and other activities. However after allowing the appropriate capabilities (start new discussions, reply to posts, etc.) Guest is still given the message "Sorry, guests are not allowed to post."

      I checked mod/post.php and saw that this behavior (along with lots of other behavior) is based on a test of the legacy capability moodle/legacy:guest. This code needs to be updated to use the new forum capabilities.

        Attachments

          Activity

            People

            Assignee:
            moodle.com moodle.com
            Reporter:
            jisner John Isner
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: