Skip to content

Commit 2ccc637

Browse files
authored
Merge pull request #745 from frappe/main-hotfix
2 parents 474fe5a + a896190 commit 2ccc637

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: crm/api/__init__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ def check_app_permission():
6363
if frappe.session.user == "Administrator":
6464
return True
6565

66-
allowed_modules = frappe.utils.modules.get_modules_from_all_apps_for_user()
67-
allowed_modules = [x["module_name"] for x in allowed_modules]
68-
if "FCRM" not in allowed_modules:
69-
return False
66+
# allowed_modules = frappe.utils.modules.get_modules_from_all_apps_for_user()
67+
# allowed_modules = [x["module_name"] for x in allowed_modules]
68+
# if "FCRM" not in allowed_modules:
69+
# return False
7070

7171
roles = frappe.get_roles()
7272
if any(

0 commit comments

Comments
 (0)