mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-01-21 21:28:20 -05:00
change
This commit is contained in:
@@ -138,7 +138,7 @@ def get_source_for_field_update(field_name, plugin_prefix, is_user_override=Fals
|
||||
def enforce_source_on_user_update(devMac, updates_dict, conn):
|
||||
"""
|
||||
When a user updates device fields, enforce source tracking.
|
||||
|
||||
|
||||
For each field with a corresponding *Source field:
|
||||
- If the field value is being changed, set the *Source to "USER".
|
||||
- If user explicitly locks a field, set the *Source to "LOCKED".
|
||||
|
||||
Reference in New Issue
Block a user