Fix PII Sharing Behavior and Enable PII Sharing in LTI 1.3 Launches and Fix LTI 1.3 Modal Launches
This release addresses a number of issues with and bugs in sharing personally identifiable information (PII) in LTI
launches.
-
Replaces the PII sharing consent modal with an inline PII sharing consent dialog to better suit the three different
LTI launch types (i.e.inline,modal, andnew_window). -
Adds a PII consent dialog for
inlineLTI launches. -
Fixes a bug in the
modalLTI launch in LTI 1.3 that was preventing the LTI launch. -
Fixes a bug in evaluating and caching whether PII sharing is enabled via the
CourseAllowPIISharingInLTIFlag.- This fixes a bug where the PII sharing fields in the LTI XBlock edit menu appeared regardless of the existence or
value of this flag. The PII sharing fields will now always be hidden if either noCourseAllowPIISharingInLTIFlag
exists for a course or if aCourseAllowPIISharingInLTIFlagexists for the course but is not enabled. - This fixes a bug in the backwards compatibility code in
lti_access_to_learners_editable. Now,
CourseAllowPIISharingInLTIFlagwill always be created for courses that contain (an) LTI XBlock(s) that have (a)
PII sharing field(s) set to True when a user opens the LTI XBlock edit menu. Before, this would occur inconsistently
due to a bug in the caching code.
- This fixes a bug where the PII sharing fields in the LTI XBlock edit menu appeared regardless of the existence or
-
Enables sharing username and email in LTI 1.3 launches.
- Adds
preferred_usernameandemailattributes to theLti1p3LaunchDataclass. The application or context
that instantiatesLti1p3LaunchDatais responsible for ensuring that username and email can be sent via an LTI
1.3 launch and supplying these data, if appropriate.
- Adds
-
Adds code to eventually support the value of
CourseAllowPIISharingInLTIFlagcontrolling PII sharing for a given
course in LTI 1.1 and LTI 1.3 launches.- This code does not currently work, because the LTI configuration service is not available or defined in all runtime
contexts. This code works in the LTI XBlock edit menu (i.e. thestudio_view), but it does not work in the Studio
preview context (i.e. theauthor_view) or the LMS (i.e. thestudent_view). The effect is that
theCourseAllowPIISharingInLTIFlagcan only control the appearance of the username and email PII sharing fields in
the XBlock edit menu; it does not control PII sharing. We plan to fix this bug in the future.
- This code does not currently work, because the LTI configuration service is not available or defined in all runtime