Changeset e27b8db in Klonkt for src/services/guardianship/notes.js
- Timestamp:
- 07/29/2026 10:04:36 AM (6 weeks ago)
- Branches:
- main
- Children:
- 329873e
- Parents:
- 88d7c8f
- File:
-
- 1 edited
-
src/services/guardianship/notes.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/services/guardianship/notes.js
r88d7c8f re27b8db 30 30 */ 31 31 export function externalEmbedsAllowed(setting, isWard) { 32 if (setting === 0 || setting === 1) return setting === 1; 33 return !isWard; 34 } 35 36 /** 37 * May a player run INSIDE the app/page for this account? The heavier sibling 38 * of the setting above, and deliberately separate: seeing that a video exists 39 * is not the same decision as handing the screen to a third party's player, 40 * with its engine, its end-screen and its next-video machine. Same shape, same 41 * default (off for a ward), and it only ever matters once embeds are allowed: 42 * you cannot play what you may not see. 43 */ 44 export function externalPlaybackAllowed(setting, isWard) { 32 45 if (setting === 0 || setting === 1) return setting === 1; 33 46 return !isWard; … … 74 87 } 75 88 76 export default { helpRequestProps, isHelpRequest, waveProps, isWave, awayProps, hasGuardiansProps, objectHasGuardians, externalEmbedsAllowed };89 export default { helpRequestProps, isHelpRequest, waveProps, isWave, awayProps, hasGuardiansProps, objectHasGuardians, externalEmbedsAllowed, externalPlaybackAllowed };
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)