Skip to main content

Mapping Entitlements to Privileges

Published: Not Available

Last Update: Not Available


If you are looking forward to map entitlements with privileges when integrating a new application with a Learn instance, you are in the right place! You probably saw this:

  • "/learn/api/public/v1/courses/{courseId}/meetings" or this "course.attendance.VIEW"

When you wanted to see something like this:

  • Administrator Panel (Communities) > Institutional Hierarchy > Manage Node Tools

Well look no further because we will explain you how to match them!

A few definitions first

  1. We talk about entitlements when we talk about actions an application can perform
  1. We talk about privileges when we talk about actions an user can perform
  • Privileges look like this: Administrator Panel (Communities) > Institutional Hierarchy
  • You can find them when setting up a new system role and assigning privileges
  1. We talk about endpoints when we talk about an url path that will return information. If you need to know por about this, please review our presentations about REST API for begginers.

What do you need?

  1. You need to know how to create a custom System Role: How to create a System role
  2. You need to know which api endpoints you will be using: Learn API endpoints
  3. You need to review, based on the endpoints you will be using, the entilements that you need. Remember that each entitlement is described when opening an endpoint at the beggining.


When you want to develop an application, you will need to enable permissions for it. Doing so within learn can be challening because we talk in different terms when creating system roles and assigning privileges, we explain about them up in this page, make sure to read that first.

Given that you already have the things that you need [Custom system role, the endpoints and entitlements]

When you where creating the system role, you may or may not have noticed that as I mentioned before, the Privileges look nothing like the entitlements, so, which privileges do I pick?

Mapping Entitlements with Privileges

We have a way for you to know which privilege pick:

First, you need to know how to create a bookmark:

In Google Chrome (Version 116.0.5845.110):

  • Paste this in your url bar: chrome://bookmarks/ (This will take you to your bookmark manager)
  • Click on the three vertical dots on the top right of that web page > Add new bookmark
  • Provide a name
  • Under url paste ONLY this code (This a really long ONE line make sure you copy all the code until you see empty () ):

It should look something like this:

A screenshot of a bookmark with information filled out

What happens now?

After you have done everything properly, you can go to the privileges of your custom system role and you will see this:

A screenshot of Learn privileges

And if you click your bookmark while still on the privileges page you should see this:

A screenshot of Learn privileges with entitlements

Make sure that the Show all privileges button was clicked first

Contributors on this article:

Background image of the author cardProfile picture of the author

Davey Herrera

Software Engineer

Integrations, Developer Relations and Standards