[3.6]Direct link to assignment doesn't work anymore? (SAML?)

[3.6]Direct link to assignment doesn't work anymore? (SAML?)

by Richard van Iwaarden -
Number of replies: 1
Picture of Particularly helpful Moodlers

When I try to visit a direct link to an assignment, f.e. https://mymoodle.com/mod/assign/view.php?id=76566 I get redirected to my ADFS login page (I login with SAML). I then login and get the following error:

You are not allowed to look at this page

×Debug info: 

Error code: nopermissiontoviewpage

×Stack trace:

      • line 878 of /course/format/multitabs/lib.php: moodle_exception thrown
      • line 1108 of /lib/pagelib.php: call to format_multitabs->page_set_cm()
      • line 2764 of /lib/moodlelib.php: call to moodle_page->set_cm()
      • line 32 of /mod/assign/view.php: call to require_login()

The weird thing is however, when I just press the F5 button and the screen is reloaded, there's no problem and the assignment loads.

Can someone reproduce this or is this my setup? Anyone know what's going wrong here?

Average of ratings: -