Role mapping


About

The Kaltura Application Framework (KAF) integrates LMS roles with Kaltura roles via the LIS standard. When a user is assigned a course-level role in the LMS (for example, Instructor or Learner), the LMS sends the corresponding LIS role to Kaltura. KAF then maps this LIS role to Kaltura roles, granting the appropriate permissions for accessing and interacting with Kaltura components like Media Gallery and Browse, Search & Embed.

Each LIS role can be mapped to specific Kaltura roles, with KAF granting permissions based on the mappings configured in the Hosted module:

ltiRole (1) This is the LIS role sent by the LMS, according to the user's role in the LMS.

kmsRole (2) - This is the KAF applicative role, set by the administrator to define permissions outside of the site context (My Media, Browse, Search & Embed)

kmsContextualRole (3) - This is the KAF contextual role, set by the administrator to define permissions inside the site context (My Media, Browse, Search & Embed).

Hosted module

Role permissions

Applicative role ('KMSRole')

Defines the user roles and permissions in Kaltura widgets that are out of course context (for example, My Media):

  • viewerRole: No access to My Media, no ability to upload content.
  • privateOnlyRole: Full access to My Media, can upload and create content.

Contextual role ('KMSContextualRole')

Defines the user roles and permission in Kaltura widgets when in a course (site) context (for example, Media Gallery):

  • Member: Can view content but not contribute content to the Media Gallery.
  • Contributor: Can view Media Gallery entries and upload and contribute entries from My Media (if applicative role is privateOnlyRole). Students are usually assigned 'member' or 'contributor' contextual roles.
  • Moderator: Can moderate content published to a Media Gallery, and contribute new content. Teaching Assistants usually have 'moderator' contextual roles.
  • Manager: Full control over Media Gallery settings and analytics.Instructors usually have 'manager' contextual roles.

Common use cases

Allow students to upload content

  • All users can create and upload content to Media Galleries.
  • LMS and KAF Configuration: Set learners to privateOnlyRole (Applicative) and Contributor (Contextual).

Restrict content creation to faculty

  • Only faculty can upload and create content. Students can’t access My Media or contribute to Media Galleries.
  • LMS and KAF Configuration: Hide My Media for students and set them to viewerRole (Applicative) and Member (Contextual).

Default role mapping

LMS role Kaltura applicative role Kaltura contextual role
Learner     privateOnlyRole Contributor
Instructor     privateOnlyRole     Manager

This streamlined mapping ensures that users have the appropriate permissions and access based on their LMS roles, allowing for seamless integration between the LMS and Kaltura.

Was this article helpful?
Thank you for your feedback!
User Icon

Thank you! Your comment has been submitted.

In This Article
Related Articles
Back to top

Never miss a thing!

Subscribe to our customer newsletter and our release notes updates, so you always get the best out of Kaltura.
Newsletter