Opened 12 years ago

Closed 12 years ago

#3973 closed enhancement (fixed)

MythVideo Parental Controls: Password per level

Reported by: Doug Young <goofdad@…> Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: mythvideo Version: unknown
Severity: medium Keywords: MythVideo parental controls
Cc: Ticket locked: no

Description

4 levels of Parental Control is wonderful, but there is only one password (used for changing levels). It would be much more useful for there to be a password at each level. This way, an end user can give one password to the level 2 viewers, another to the level 3 viewers, and keep the level 4 entries to himself. Attached is a patch to do just that. It assumes that L1 is always general viewing, that you can -always- lower the level (ie, always move to a more restrictive view), and that a password can open it's own level or any level under it (thus users only need learn one password).

Attachments (1)

MythVideoParentalControls (14.0 KB) - added by Doug Young <goofdad@…> 12 years ago.
patch

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Doug Young <goofdad@…>

Attachment: MythVideoParentalControls added

patch

comment:1 Changed 12 years ago by Anduin Withers

Resolution: fixed
Status: newclosed

(In [14705]) Closes #3973

This patch was contributed by Doug Young (and modified by me, any bugs or other brokeness are mine).

  • Added ability for a unique PIN to protect parental level 2 and 3.
  • Disallow default parental level view without a PIN (if required).

Caution: A functionality change in this patch:

Before this patch a PIN (if set) was required for any level change. The new PIN levels currently allow for access to levels 2 and 3 without a PIN (by default). If you want the old behavior you need to set "Parental Level 2 PIN".

This can be changed if it turns out to be a bad idea.

PIN checking:

For a level all PINs for that level and up are allowed. If no PINs are found in the first direction, the first valid PIN at a lower level is used. No PINs = all access.

Note: See TracTickets for help on using tickets.