From b74ae4f95964eca510ada5d0deba6186dd4f8630 Mon Sep 17 00:00:00 2001 From: Jan Goischke Date: Sun, 31 Jul 2022 17:12:17 +0200 Subject: [PATCH] Update twilio_settings.json Replace permission with read-only fields, so the user can also check these credentials. --- .../doctype/twilio_settings/twilio_settings.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/twilio_integration/twilio_integration/doctype/twilio_settings/twilio_settings.json b/twilio_integration/twilio_integration/doctype/twilio_settings/twilio_settings.json index 049a723..c6086d8 100644 --- a/twilio_integration/twilio_integration/doctype/twilio_settings/twilio_settings.json +++ b/twilio_integration/twilio_integration/doctype/twilio_settings/twilio_settings.json @@ -41,22 +41,25 @@ "mandatory_depends_on": "eval: doc.enabled" }, { + "description": "API Key will be requested automatically. Read-only.", "fieldname": "api_key", "fieldtype": "Data", "label": "API Key", - "permlevel": 1 + "read_only": 1 }, { + "description": "TwiML SID will be requested automatically. Read-only.", "fieldname": "api_secret", "fieldtype": "Password", "label": "API Secret", - "permlevel": 1 + "read_only": 1 }, { + "description": "TwiML SID will be requested automatically. Read-only.", "fieldname": "twiml_sid", "fieldtype": "Data", "label": "TwiML SID", - "permlevel": 1 + "read_only": 1 }, { "fieldname": "column_break_3", @@ -73,7 +76,6 @@ "fieldtype": "Link", "label": "Outgoing Voice Medium", "options": "Communication Medium", - "permlevel": 1 }, { "fieldname": "section_break_6", @@ -127,4 +129,4 @@ ], "sort_field": "modified", "sort_order": "DESC" -} \ No newline at end of file +}