From 754d3cf2cadeb528568bfb9bd97975105a117769 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 3 Feb 2026 10:56:22 +0530 Subject: [PATCH] fix: import permissions --- .../lms_assignment/lms_assignment.json | 6 +++++- lms/lms/doctype/lms_badge/lms_badge.json | 20 ++++++++++++++++--- .../lms_batch_enrollment.json | 5 ++++- lms/lms/doctype/lms_coupon/lms_coupon.json | 6 +++++- .../lms_live_class/lms_live_class.json | 5 ++++- lms/lms/doctype/lms_payment/lms_payment.json | 16 ++++++++++++++- lms/lms/doctype/lms_program/lms_program.json | 5 ++++- .../lms_programming_exercise.json | 9 +++++++-- lms/lms/doctype/lms_source/lms_source.json | 4 +++- .../lms_zoom_settings/lms_zoom_settings.json | 5 ++++- 10 files changed, 68 insertions(+), 13 deletions(-) diff --git a/lms/lms/doctype/lms_assignment/lms_assignment.json b/lms/lms/doctype/lms_assignment/lms_assignment.json index 6dfabd71..06fa85c6 100644 --- a/lms/lms/doctype/lms_assignment/lms_assignment.json +++ b/lms/lms/doctype/lms_assignment/lms_assignment.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "autoname": "format: ASG-{#####}", "creation": "2023-05-26 19:41:26.025081", @@ -80,7 +81,7 @@ "grid_page_length": 50, "index_web_pages_for_search": 1, "links": [], - "modified": "2025-12-19 16:30:58.531722", + "modified": "2026-02-03 10:55:14.821486", "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Assignment", @@ -104,6 +105,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -124,6 +126,7 @@ "create": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -135,6 +138,7 @@ "create": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, diff --git a/lms/lms/doctype/lms_badge/lms_badge.json b/lms/lms/doctype/lms_badge/lms_badge.json index 2482804c..633106a0 100644 --- a/lms/lms/doctype/lms_badge/lms_badge.json +++ b/lms/lms/doctype/lms_badge/lms_badge.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "autoname": "field:title", "creation": "2024-04-30 11:29:53.548647", @@ -99,8 +100,8 @@ "link_fieldname": "badge" } ], - "modified": "2025-07-04 13:02:19.048994", - "modified_by": "Administrator", + "modified": "2026-02-03 10:52:37.122370", + "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Badge", "naming_rule": "By fieldname", @@ -118,13 +119,26 @@ "share": 1, "write": 1 }, + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "import": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "Moderator", + "share": 1, + "write": 1 + }, { "email": 1, "export": 1, "print": 1, "read": 1, "report": 1, - "role": "All", + "role": "LMS Student", "share": 1 } ], diff --git a/lms/lms/doctype/lms_batch_enrollment/lms_batch_enrollment.json b/lms/lms/doctype/lms_batch_enrollment/lms_batch_enrollment.json index a2f05643..179867fb 100644 --- a/lms/lms/doctype/lms_batch_enrollment/lms_batch_enrollment.json +++ b/lms/lms/doctype/lms_batch_enrollment/lms_batch_enrollment.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "creation": "2025-02-10 11:17:12.462368", "doctype": "DocType", @@ -73,7 +74,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2026-01-14 08:53:16.672825", + "modified": "2026-02-03 10:51:28.475356", "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Batch Enrollment", @@ -96,6 +97,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -114,6 +116,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, diff --git a/lms/lms/doctype/lms_coupon/lms_coupon.json b/lms/lms/doctype/lms_coupon/lms_coupon.json index 26dcb5a9..5927a6c4 100644 --- a/lms/lms/doctype/lms_coupon/lms_coupon.json +++ b/lms/lms/doctype/lms_coupon/lms_coupon.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "autoname": "hash", "creation": "2025-10-11 21:39:11.456420", @@ -113,7 +114,7 @@ "grid_page_length": 50, "index_web_pages_for_search": 1, "links": [], - "modified": "2025-10-27 19:52:11.835042", + "modified": "2026-02-03 10:50:23.387175", "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Coupon", @@ -149,6 +150,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -161,6 +163,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -173,6 +176,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, diff --git a/lms/lms/doctype/lms_live_class/lms_live_class.json b/lms/lms/doctype/lms_live_class/lms_live_class.json index d71727ed..0aaab5ac 100644 --- a/lms/lms/doctype/lms_live_class/lms_live_class.json +++ b/lms/lms/doctype/lms_live_class/lms_live_class.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "creation": "2023-03-02 10:59:01.741349", "default_view": "List", @@ -177,7 +178,7 @@ "link_fieldname": "live_class" } ], - "modified": "2026-01-14 08:54:07.684781", + "modified": "2026-02-03 10:54:39.198916", "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Live Class", @@ -200,6 +201,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -221,6 +223,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, diff --git a/lms/lms/doctype/lms_payment/lms_payment.json b/lms/lms/doctype/lms_payment/lms_payment.json index 9688c3d4..fc62daa4 100644 --- a/lms/lms/doctype/lms_payment/lms_payment.json +++ b/lms/lms/doctype/lms_payment/lms_payment.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "creation": "2023-08-24 17:46:52.065763", "default_view": "List", @@ -201,7 +202,7 @@ "link_fieldname": "payment" } ], - "modified": "2025-12-19 17:55:25.968384", + "modified": "2026-02-03 10:54:12.361407", "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Payment", @@ -218,6 +219,19 @@ "role": "System Manager", "share": 1, "write": 1 + }, + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "import": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "Moderator", + "share": 1, + "write": 1 } ], "row_format": "Dynamic", diff --git a/lms/lms/doctype/lms_program/lms_program.json b/lms/lms/doctype/lms_program/lms_program.json index 29ad1551..b3213894 100644 --- a/lms/lms/doctype/lms_program/lms_program.json +++ b/lms/lms/doctype/lms_program/lms_program.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "autoname": "field:title", "creation": "2024-11-18 12:27:13.283169", @@ -92,7 +93,7 @@ "grid_page_length": 50, "index_web_pages_for_search": 1, "links": [], - "modified": "2025-12-04 12:56:14.249363", + "modified": "2026-02-03 10:51:50.616781", "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Program", @@ -116,6 +117,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -128,6 +130,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, diff --git a/lms/lms/doctype/lms_programming_exercise/lms_programming_exercise.json b/lms/lms/doctype/lms_programming_exercise/lms_programming_exercise.json index c2fa9b8d..5a80c1d5 100644 --- a/lms/lms/doctype/lms_programming_exercise/lms_programming_exercise.json +++ b/lms/lms/doctype/lms_programming_exercise/lms_programming_exercise.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "creation": "2025-06-18 15:02:36.198855", "doctype": "DocType", @@ -33,7 +34,7 @@ "fieldname": "language", "fieldtype": "Select", "label": "Language", - "options": "Python\nJavaScript", + "options": "Python\nJavaScript\nRust\nGo", "reqd": 1 }, { @@ -63,7 +64,7 @@ "link_fieldname": "exercise" } ], - "modified": "2025-06-24 14:42:27.463492", + "modified": "2026-02-03 10:45:23.687185", "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Programming Exercise", @@ -74,6 +75,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -86,6 +88,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -98,6 +101,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -110,6 +114,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, diff --git a/lms/lms/doctype/lms_source/lms_source.json b/lms/lms/doctype/lms_source/lms_source.json index ea75d118..f77be20e 100644 --- a/lms/lms/doctype/lms_source/lms_source.json +++ b/lms/lms/doctype/lms_source/lms_source.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "autoname": "field:source", "creation": "2023-10-26 16:28:53.932278", @@ -21,7 +22,7 @@ "grid_page_length": 50, "index_web_pages_for_search": 1, "links": [], - "modified": "2025-11-10 11:39:57.251861", + "modified": "2026-02-03 10:53:42.654881", "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Source", @@ -45,6 +46,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, diff --git a/lms/lms/doctype/lms_zoom_settings/lms_zoom_settings.json b/lms/lms/doctype/lms_zoom_settings/lms_zoom_settings.json index 53dbf8eb..26ca9b0e 100644 --- a/lms/lms/doctype/lms_zoom_settings/lms_zoom_settings.json +++ b/lms/lms/doctype/lms_zoom_settings/lms_zoom_settings.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "autoname": "field:account_name", "creation": "2025-05-26 13:04:18.285735", @@ -83,7 +84,7 @@ "grid_page_length": 50, "index_web_pages_for_search": 1, "links": [], - "modified": "2025-11-10 11:39:13.146961", + "modified": "2026-02-03 10:50:59.906919", "modified_by": "sayali@frappe.io", "module": "LMS", "name": "LMS Zoom Settings", @@ -107,6 +108,7 @@ "delete": 1, "email": 1, "export": 1, + "import": 1, "print": 1, "read": 1, "report": 1, @@ -120,6 +122,7 @@ "email": 1, "export": 1, "if_owner": 1, + "import": 1, "print": 1, "read": 1, "report": 1,