moodle/blocks
David Mudrák 57b81c93f5 MDL-55667 navigation: Do not display site participants link to students
The problem here was that user/index.php checks the system level
capability moodle/site:viewparticipants when the user is on the front
page, and the moodle/course:viewparticipants on non-front pages.

But the navigation displayed the link by mistake even in situations,
when the user has the capability moodle/course:viewparticipants on the
front page (typically when the default role for the front page is set to
student).

Added behat tests for reproducing the bug and also for checking the
basic functionality of the feature.
2016-08-29 12:11:46 +02:00
..
activity_modules MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
activity_results MDL-54891 Block_activity_results: Allow admin defaults 2016-07-08 05:10:27 +00:00
admin_bookmarks MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
badges MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
blog_menu MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
blog_recent MDL-54002 Behat: tests for recent blogs block 2016-05-24 12:42:31 -04:00
blog_tags MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
calendar_month MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
calendar_upcoming MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
comments MDL-54116 block_comments: warnings when commenting outside of a course 2016-05-26 10:19:31 +08:00
community MDL-54652 block_community: remove unused css 2016-06-16 20:49:04 +01:00
completionstatus Merge branch 'MDL-35628' of https://github.com/mr-russ/moodle 2016-06-16 09:04:12 +01:00
course_list MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
course_overview Merge branch 'MDL-35628' of https://github.com/mr-russ/moodle 2016-06-16 09:04:12 +01:00
course_summary MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
feedback MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
globalsearch MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
glossary_random MDL-53598 block_glossary_random: do not fail if glossary was deleted 2016-05-31 15:30:41 +08:00
html MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
login MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
lp Merge branch 'MDL-54664-master' of git://github.com/junpataleta/moodle 2016-05-23 09:50:44 +08:00
mentees MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
messages MDL-54577 Behat: Add tests for messages block 2016-05-26 10:21:07 +08:00
mnet_hosts MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
myprofile Merge branch 'MDL-54622_m32v1' of https://github.com/sbourget/moodle 2016-06-16 09:04:09 +01:00
navigation MDL-55667 navigation: Do not display site participants link to students 2016-08-29 12:11:46 +02:00
news_items MDL-53851 news block: Display news from all the accessible groups 2016-05-25 16:54:45 +02:00
online_users Merge branch 'MDL-54617-master' of git://github.com/cameron1729/moodle 2016-06-16 09:04:10 +01:00
participants MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
private_files MDL-54589 behat: Fixed failures for phantomjs standalone 2016-06-20 16:03:36 +08:00
quiz_results MDL-50267 lang: Remove deprecated strings in 2.9 2016-07-26 16:03:32 +08:00
recent_activity MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
rss_client MDL-55391 block_rss: fix typo preventing feed title display 2016-08-19 09:43:32 +01:00
search_forums MDL-54656 Behat: Add tests for search_forums block 2016-06-12 20:50:21 -04:00
section_links MDL-54657 Behat: Add tests for section_links block 2016-07-13 21:38:31 -04:00
selfcompletion MDL-54563 Block: Only Allow completion blocks on course pages 2016-06-01 10:42:01 +08:00
settings MDL-54977 blocks_navigation: Use html_writer::random_id for id 2016-07-13 14:04:16 +08:00
site_main_menu MDL-55397 block_site_main_menu: eliminate CSS conflict 2016-08-02 14:20:18 +08:00
social_activities MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
tag_flickr MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
tag_youtube MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
tags MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
tests/behat MDL-53381 behat: Replaced chained steps with api. 2016-04-06 11:32:49 +08:00
edit_form.php MDL-52081 forms: Use __construct() for constructors 2015-12-10 13:38:01 +08:00
index.html MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:00:47 +00:00
moodleblock.class.php MDL-49553 core_block: final deprecation of config_save() 2016-01-06 10:58:50 +08:00
upgrade.txt MDL-35590 block_navigation: fix remaining issues 2016-01-22 18:48:04 +08:00