-
Bug
-
Resolution: Fixed
-
Minor
-
2.9.4, 3.0.2, 3.1
-
MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MDL-52993-master -
- Run unit tests in mod/wiki/tests/lib_test.php and check that all tests pass.
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.
- blocks
-
MDL-52809 New Web Service mod_wiki_get_subwikis
- Closed