The p2g_search_restrictions can be used to pre-filter content before it is offered to the instructor.


Example


       p2g_search_restrictions=context_id

Syntax


p2g_search_restrictions=condition


Allowed values

Conditions:


  • group
  • uploader
  • owner
  • context_id
  • context_title
  • context_label


Default

By default no search restrictions apply


Use cases

Ignore anonymous and authenticated users

Since the LTI group used in your LMS is always member of the system groups "authenticated users" and "anonymous" all open content will automatically be part of the LTI search results.

Use the following custom parameter to narrow down the results to content where the LTI group is explicitly given permissions.


p2g_search_restrictions=group



Only show user uploads


When you want a learner or instructor to allow only selecting their own uploaded content, you can use


p2g_search_restrictions=uploader

Show content uploaded in the same course

If you only want to show content uploaded in the same course you can use either


p2g_search_restrictions=context_id


or


p2g_search_restrictions=context_title


or


       p2g_search_restrictions=context_label


However, in some cases the context_title or context_label can be changed during the course.