Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | mytube-add_ability_to_configure_trusted_domains-2443159-3.patch | 1.93 KB | milodesc |
Comments
Comment #1
fureigh CreditAttribution: fureigh commentedPlease see attached patch. (Shout out to the ACLU for requesting this feature and to Advomatic for sponsoring development.)
Comment #2
grndlvl CreditAttribution: grndlvl commentedEnded 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.
Comment #3
milodescThis update to the patch cleans up the new mytube_trusted_domains variable upon uninstalling the mytube module.
Comment #5
mfbTweaked the patch slightly, thanks for the contributions.
Comment #6
grndlvl CreditAttribution: grndlvl at GollyGood Software for Advomatic commented