Admin GuidesContent Policy (Embed Allowlist, Publishing Approval)

Content Policy — Embed Allowlist and Publishing Approval

Who this guide is for: Owners deciding which outside websites course authors may embed in a course through the Web Page (iframe) module type, who reviews courses, and whether a course needs an approval before it is published. Authors and reviewers: see the submit and review steps under Approval before publishing.


Overview

An iframe module shows another website inside the learner’s player — an H5P activity, a Genially, an internal intranet page. By default any secure (https://) website is allowed. The embed allowlist lets your organization narrow that to a known set of hosts, so an author cannot point learners at an arbitrary site and a page that later moves to an unapproved host stops rendering instead of loading silently.

The allowlist governs iframe modules only. YouTube / Vimeo modules always play from those two services (they have their own URL check), and SCORM, cmi5 and AICC packages are served from EmbayLMS itself.


Prerequisites

  • Owner role (the setting lives with the other tenant-relationship settings).

Step-by-step: set the allowlist

  1. Go to Settings → Content policy.
  2. Under Embed allowlist, enter one hostname per line:
    • h5p.org allows exactly that host.
    • *.genially.com allows every subdomain and genially.com itself.
    • A pasted URL is trimmed to its host (https://h5p.org/content/1 → h5p.org).
  3. Click Save. The badge above the list turns from Any https website is allowed to N allowed hosts.

To go back to the default, clear the list and save. An empty list means any https website is allowed — it is not “nothing is allowed”.


What the allowlist enforces

WhereBehaviour when the host is not allowed
Course editor — adding or editing an iframe module (module.create / module.update)The save is refused with host is not on this organization’s embed allowlist. Add it under Settings → Content policy → Embed allowlist, or use an allowed host.
Changing an existing module’s type to iframeThe stored URL is checked the same way.
Learner playerA module whose host fell off the list after it was saved shows This content can’t be shown with a pointer to the administrator — never a broken frame. It renders again as soon as the host is re-added.
REST POST /api/v1/courses/{id}/modulesCannot set an external URL at all; it creates the module shell only.
Demo seedSeeds YouTube / Vimeo and iframe samples; run it before restricting the list, or add the sample hosts.

Every change to the list is written to the audit log (tenant_config / embed_allowlist, with the before and after lists). The browser’s Content-Security-Policy (frame-src 'self' https:) remains the outer bound in all cases: http:// pages are never embedded.


Configuration reference

FieldTypeDefaultNotes
Allowed hostslist of hostname patterns, max 100empty (allow any https host)lower-cased; *. prefix = wildcard subdomain; duplicates dropped

Approval before publishing

A course can go through a review before it is published. An author clicks Submit for review, picks a reviewer (or Any reviewer) and can leave a note. A reviewer reads the course and clicks Approve or Request changes, with a comment. The approval decides whether the course can be published. It is required when either of these is true:

  • The organization turned on Require an approval before a course is published (below). Every course then needs one.
  • The course itself was submitted for review at least once. From then on, that course needs an approval for each version it publishes.

Step-by-step: require approval for every course

  1. Go to Settings → Content policy.
  2. Under Approval before publishing, turn on Require an approval before a course is published. The setting saves at once, and the change is recorded in the audit log.

Who can approve: the Approve courses permission

Approving is its own permission, Approve courses (course:approve). Owners and Admins hold it by default, and it can be granted to a custom role in Settings → User management → Roles (for example, a “Course reviewer” role). Approving does not need the permission to publish: a reviewer can approve a course that someone else publishes.

Step-by-step: name the reviewers

The reviewers apply whether or not approval is required for every course.

  1. Go to Settings → Content policy. The Reviewers section sits under the approval switch.
  2. Click Add reviewers. Search for a person, or pick a role. Only people and roles holding the Approve courses permission can be added; the others are listed with needs the Approve courses permission.
  3. Each change saves at once and is recorded in the audit log. Click Remove next to a role or a person to take them off the list.

With nobody named, everyone holding Approve courses reviews: Owners and Admins by default. A named person who loses the permission, or whose account is deactivated, stays on the list marked Can no longer approve: they are skipped until it changes, and authors cannot pick them. Only an Owner can change the list.

Step-by-step: submit a course for review

  1. Open the course. The Approval card is the first card on the Details tab. When the course needs an approval, a Submit for review button also sits next to the disabled publish button.
  2. Click Submit for review. Under Reviewer, pick one reviewer, or Any reviewer to notify all of them (the first to decide closes the review). You are never in the list: nobody approves their own submission. Nor is the course’s creator, unless they are an Owner or Admin: a creator cannot approve their own course.
  3. Optionally, write a Note to the reviewer (optional) (1,000 characters at most), then click Submit for review.

The reviewer gets a notification in the app and by email. If nobody else can review the course (for example, you are the only reviewer), the dialog says so and an Owner must name another reviewer first.

Step-by-step: review a course

  1. Open Call to Action and go to Course reviews. Assigned to me lists the courses submitted to you or to any reviewer; All waiting adds the courses assigned to another reviewer, which any reviewer can still decide on. Courses you submitted yourself, or created without being an Owner or Admin, are listed, but another reviewer decides. Both lists show 50 courses at a time, oldest first; use Next to see more.
  2. Click Review. The course opens on its Approval card. Use Preview this version to see it as a learner would: the preview shows the version submitted for review, even before the course was ever published. A reviewer can open a course waiting for review even when it is not one of their assigned courses; it opens read only, with nothing to edit.
  3. Write a comment and click Approve or Request changes. A comment is required to request changes and optional to approve. The author is notified in the app and by email, with your comment.

After Request changes, the author reads the comment in the Approval card, makes the changes and clicks Resubmit for review. Every submission, resubmission, decision and override is kept in the course’s review history with who, when, which version and the comment.

How the approval works

  • One version: an approval covers one version, as the reviewer saw it. A reviewer approves the newest version of the course: the draft if there is one, otherwise the live version. Editing a published course starts a new draft, and that draft is not approved; editing the approved draft itself (a lesson, an asset, a quiz, a translation, or the course’s title, description, thumbnail or duration) also resets the approval. Either way the Approval card shows Approved an earlier version, with Submit for review available again, and the publish button says the version was edited after it was approved.
  • Publishing waits: while the version is not approved, the publish button in the course editor is disabled and the reason is shown under it. The same rule applies to a scheduled publish (it waits, and publishes on the first hourly pass after the approval), to restoring an old version straight to live (restore it as a draft instead, get it approved, then publish), and to PATCH /api/v1/courses/{id} (answers 409).
  • Nobody approves their own submission, Owners and Admins included. The person who created a course cannot approve it either, unless they are an Owner or Admin.
  • Override: Owners and Admins can publish anyway. Publish without approval… asks for a reason (at least 10 characters). The course is published, the override is recorded in the audit log as approval.overridden with the reason, the version and why the approval was missing, and the reason shows in the review history. The Approval card then shows Published without approval: the course stays in the approval workflow, and its next version is submitted and approved like any other. Nobody else can override.
  • Review what you see: a reviewer can decide only on a course waiting for review, and the approval covers the version and content on the screen when the page was opened. If the author changes the course meanwhile, the approval is refused with This course changed since you opened it; reload and review again (your comment stays in the box).
  • Known limitation: today a published course with no draft can still be changed in place through some editing paths, which skips both versioning and this approval. A fix is on our backlog.

Notifications

NotificationSent toWhen
Course review requestedThe reviewer picked, or every reviewer for Any reviewer (never the author)A course is submitted or resubmitted
Course review decisionThe person who submitted the versionA reviewer approves it or requests changes, with the comment

Both arrive in the app and by email, in each person’s language, and can be turned off per channel in Notification preferences on the profile page (the rows are shown to people who submit or review courses). A tenant can override both emails under Templates.

Configuration reference — approval

FieldTypeDefaultNotes
Require an approval before a course is publishedon / offoffApplies to every course. A course submitted for review needs one even when this is off
Reviewersroles and people holding Approve courses, 50 at mostnone named (every holder reviews)Owner only; audited; applies whether or not approval is required
Note to the reviewertext, up to 1,000 characters—Optional; shown to the reviewer and kept in the history
Comment on a decisiontext, up to 2,000 characters—Required to request changes, optional to approve
Override reasontext, 10–1,000 characters—Owners and Admins only; written to the audit log and the history

Troubleshooting

SymptomCauseFix
Not a valid hostname: … on saveAn entry has spaces, a bare word (intranet) or a scheme with a path that could not be reduced to a hostEnter a hostname such as intranet.example.com
An author gets … is not on this organization’s embed allowlistThe list is set and the site is missingAdd the host (or its *. wildcard) and save; the author retries the save
Learners see This content can’t be shown on a module that used to workThe host was removed from the list, or the list was created after the moduleAdd the host back, or point the module at an allowed site
A YouTube module is affectedIt is not — check the module type; only Web Page (iframe) is governed—
The publish button is disabled with Waiting for approvalThe version has been submitted and not yet reviewedA reviewer approves it on the course’s Approval card (from Call to Action → Course reviews); then publish
Nobody else can review this course in the submit dialogNo reviewer other than you holds Approve courses and is on the listAn Owner names another reviewer under Settings → Content policy → Reviewers
A reviewer does not see a course in Assigned to meIt was submitted to another reviewer, or they submitted it themselvesLook under All waiting; any reviewer can decide on it, except its author
Only a reviewer can approve or request changesYou hold Approve courses but the list names other people, or you lack the permissionAn Owner adds you (or your role) to Reviewers
Write a comment so the author knows what to change.Request changes was clicked with an empty commentWrite what to change, then click Request changes again
The approval covers an earlier versionThe course was edited after it was approved, so the new draft is a different versionSubmit this version for approval
This version was edited after it was approvedThe approved draft was changed before it was publishedSubmit it for approval again
This course changed since you opened it (when approving)The author changed the course while you were reviewing itReload the page and review it again
A scheduled publish did not happenThe course needs an approval for the version that was dueApprove it; the next hourly pass publishes it
The API answers 409 on status: "published"The course needs an approval for its latest versionApprove it in the course editor, then publish