moodle/blocks/rss_client
tjhunt e92c286c20 block contexts: MDL-19098 every block should have a context
even non-course and sticky blocks.

The parent context is block_instances.parentcontextid.

The block context should be used for checking permissions directly
related to the block, like moodle/block:view or moodle/site:manageblocks.

However, if the block is displaying information about the current page,
for example the participants block showing who 'here', then it may be
better to use the context of the page where the bloack is appearing -
in other words $this->page->context - to check permissions about the
user's ability to see participants here.

Or, if the block is displaying something stronly related to courses,
for example, a course meny block, the block should probably use the
context for $this->page->course to check permissions.
2009-07-13 08:37:34 +00:00
..
db MDL-19350 upgrade review - adding missing savepoints to blocks 2009-06-03 14:49:57 +00:00
block_rss_client.php block contexts: MDL-19098 every block should have a context 2009-07-13 08:37:34 +00:00
block_rss_client_action.php MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 04:23:05 +00:00
block_rss_client_error.php Cleaning some trailing spaces here and there. 2007-07-30 17:11:55 +00:00
config_instance.html block contexts: MDL-19098 every block should have a context 2009-07-13 08:37:34 +00:00
config_instance_tabs.php block contexts: MDL-19098 every block should have a context 2009-07-13 08:37:34 +00:00
settings.php MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
styles.php MDL-8922: Had to modify another bunch of files to fix a simple problem: 2007-03-26 03:06:45 +00:00