Add opt-in administrator lock restrictions (#3869)

(cherry picked from commit 7781c207f1)
This commit is contained in:
alvarosth authored and bbedward committed 2026-10-22 14:57:52 -04:00
1 parent 2a636c7092
commit 430db4e493
24 files changed
+490 -50

No files matched your search

+2
View File
@@ -1102,6 +1102,8 @@ Item {
}
function set(key: string, value: string): string {
if (AdminPolicy.disableSettingsIpcSet)
return "SETTINGS_SET_DISABLED";
if (!(key in SettingsData)) {
log.warn("Cannot set property, not found:", key);
return "SETTINGS_INVALID_KEY";