MDL-62162 policy: Define context when accessing to viewall.php