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
- Go to Settings → Content policy.
- Under Embed allowlist, enter one hostname per line:
h5p.orgallows exactly that host.*.genially.comallows every subdomain andgenially.comitself.- A pasted URL is trimmed to its host (
https://h5p.org/content/1→h5p.org).
- 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
| Where | Behaviour 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 iframe | The stored URL is checked the same way. |
| Learner player | A 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}/modules | Cannot set an external URL at all; it creates the module shell only. |
| Demo seed | Seeds 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
| Field | Type | Default | Notes |
|---|---|---|---|
| Allowed hosts | list of hostname patterns, max 100 | empty (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
- Go to Settings → Content policy.
- 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.
- Go to Settings → Content policy. The Reviewers section sits under the approval switch.
- 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.
- 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
- 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.
- 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.
- 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
- 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.
- 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.
- 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}(answers409). - 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.overriddenwith 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
| Notification | Sent to | When |
|---|---|---|
| Course review requested | The reviewer picked, or every reviewer for Any reviewer (never the author) | A course is submitted or resubmitted |
| Course review decision | The person who submitted the version | A 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
| Field | Type | Default | Notes |
|---|---|---|---|
| Require an approval before a course is published | on / off | off | Applies to every course. A course submitted for review needs one even when this is off |
| Reviewers | roles and people holding Approve courses, 50 at most | none named (every holder reviews) | Owner only; audited; applies whether or not approval is required |
| Note to the reviewer | text, up to 1,000 characters | — | Optional; shown to the reviewer and kept in the history |
| Comment on a decision | text, up to 2,000 characters | — | Required to request changes, optional to approve |
| Override reason | text, 10–1,000 characters | — | Owners and Admins only; written to the audit log and the history |
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Not a valid hostname: … on save | An entry has spaces, a bare word (intranet) or a scheme with a path that could not be reduced to a host | Enter a hostname such as intranet.example.com |
| An author gets … is not on this organization’s embed allowlist | The list is set and the site is missing | Add 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 work | The host was removed from the list, or the list was created after the module | Add the host back, or point the module at an allowed site |
| A YouTube module is affected | It is not — check the module type; only Web Page (iframe) is governed | — |
| The publish button is disabled with Waiting for approval | The version has been submitted and not yet reviewed | A 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 dialog | No reviewer other than you holds Approve courses and is on the list | An Owner names another reviewer under Settings → Content policy → Reviewers |
| A reviewer does not see a course in Assigned to me | It was submitted to another reviewer, or they submitted it themselves | Look under All waiting; any reviewer can decide on it, except its author |
| Only a reviewer can approve or request changes | You hold Approve courses but the list names other people, or you lack the permission | An 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 comment | Write what to change, then click Request changes again |
| The approval covers an earlier version | The course was edited after it was approved, so the new draft is a different version | Submit this version for approval |
| This version was edited after it was approved | The approved draft was changed before it was published | Submit it for approval again |
| This course changed since you opened it (when approving) | The author changed the course while you were reviewing it | Reload the page and review it again |
| A scheduled publish did not happen | The course needs an approval for the version that was due | Approve it; the next hourly pass publishes it |
The API answers 409 on status: "published" | The course needs an approval for its latest version | Approve it in the course editor, then publish |