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

wiki_user_can_edit not working right for collaborative wikis with separate groups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.4, 3.0.2, 3.1
    • Fix Version/s: 2.9.5, 3.0.3
    • Component/s: Wiki (2.x)
    • Labels:

      Description

      The function wiki_user_can_edit right now has this behaviour:

      If a wiki is collaborative with visible groups, a user can edit a subwiki if he belongs to the subwiki's group.
      If a wiki is collaborative with separate groups, a user can edit a subwiki only if his active group is the subwiki's group.

      I think the behaviour should be the same in both cases. Right now if a user belongs to more than one group in separate groups then wiki_user_can_edit might return false when it shouldn't.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Mar/16