Problem/Motivation

A site admin sometimes embeds content from other domains owned by the same organization, or from third parties with whom they have a confidentiality agreement. They want to be able to add a list of exceptions to MyTube's filtering.

Proposed resolution

Add a "trusted domains" field to the admin settings page. If a video is from that domain, allow it through without MyTube filtering.

Remaining tasks

Review patch.

User interface changes

Add a "trusted domains" field to the admin settings form.

API changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fureigh’s picture

Assigned: fureigh » Unassigned
Status: Active » Needs review
FileSize
1.5 KB

Please see attached patch. (Shout out to the ACLU for requesting this feature and to Advomatic for sponsoring development.)

grndlvl’s picture

Ended up rolling with the theme patch applied.

Adding in case someone else needs this, but hiding since the patch already uploaded does this against dev.

milodesc’s picture

This update to the patch cleans up the new mytube_trusted_domains variable upon uninstalling the mytube module.

  • mfb committed a6dff50 on 7.x-1.x authored by fureigh
    Issue #2443159 by fureigh, grndlvl, milodesc, mfb: Add ability to...
mfb’s picture

Status: Needs review » Fixed

Tweaked the patch slightly, thanks for the contributions.

grndlvl’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.