mirror of
https://github.com/moodle/moodle.git
synced 2025-03-27 02:53:29 +01:00
Wiki defines capability mod/wiki:viewpage instead of standard mod/wiki:view . This means that people who do not have capability to view wiki still see it in the modules list. Also corrected unittest that was testing situation when student has capability to create pages but does not have capability to view pages. Such student should not see wiki module at all.