mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #57256
[Bug 1859605] Re: Mahara portfolio as Moodle assignment cannot be previewed
** Changed in: mahara
Status: New => In Progress
** Also affects: mahara/20.04
Importance: Undecided
Status: In Progress
** Also affects: mahara/19.04
Importance: Undecided
Status: New
** Also affects: mahara/18.10
Importance: Undecided
Status: New
** Also affects: mahara/19.10
Importance: Undecided
Status: New
** Changed in: mahara/19.10
Status: New => In Progress
** Changed in: mahara/19.04
Status: New => In Progress
** Changed in: mahara/18.10
Status: New => In Progress
** Changed in: mahara/20.04
Importance: Undecided => Medium
** Changed in: mahara/19.04
Importance: Undecided => Medium
** Changed in: mahara/18.10
Importance: Undecided => Medium
** Changed in: mahara/20.04
Milestone: None => 20.04.0
** Changed in: mahara/19.10
Importance: Undecided => Medium
** Changed in: mahara/19.10
Milestone: None => 19.10.2
** Changed in: mahara/19.04
Milestone: None => 19.04.4
** Changed in: mahara/18.10
Milestone: None => 18.10.5
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1859605
Title:
Mahara portfolio as Moodle assignment cannot be previewed
Status in Mahara:
In Progress
Status in Mahara 18.10 series:
In Progress
Status in Mahara 19.04 series:
In Progress
Status in Mahara 19.10 series:
In Progress
Status in Mahara 20.04 series:
In Progress
Bug description:
When using the assignsubmission_mahara plugin to connect Moodle
assignments to Mahara, the link to view the portfolio works fine to
open Mahara, but the preview iframe in Moodle doesn't.
This is because MNET auth doesn't set up the session in the same way
as LTI does with the CSP being set to allow such things. Fixing this
is mostly a matter of copying the setup code into the MNET landing
page:
$parts = parse_url($remotewwwroot);
$cspurl = $parts['scheme'] . '://' . $parts['host'];
$SESSION->set('csp-ancestor-exemption', $cspurl);
I am mindful that LTI is considered the future direction of Mahara,
but we have customers who use MNET and can't move to LTI because it
does not meet their needs at this time, and this improves the workflow
a tiny bit for them without a significant overhaul of anything.
Happy to submit as a formal patch for all currently supported versions
of Mahara if that would help.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1859605/+subscriptions
References