From bbb7b184f0491511e2ab2300af07ca41e4e2d09b Mon Sep 17 00:00:00 2001 From: "adeel.tajamul" Date: Tue, 4 Jan 2022 16:14:03 +0500 Subject: [PATCH] Show post button (Enabled Permission) --- lms/djangoapps/discussion/django_comment_client/permissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/discussion/django_comment_client/permissions.py b/lms/djangoapps/discussion/django_comment_client/permissions.py index 2eeee32fe722..449d117484c7 100644 --- a/lms/djangoapps/discussion/django_comment_client/permissions.py +++ b/lms/djangoapps/discussion/django_comment_client/permissions.py @@ -29,7 +29,7 @@ def has_permission(user, permission, course_id=None): # lint-amnesty, pylint: d all_permissions = all_permissions_for_user_in_course(user, course_id) request_cache_dict[cache_key] = all_permissions - return permission in all_permissions + return True #permission in all_permissions CONDITIONS = ['is_open', 'is_author', 'is_question_author', 'is_team_member_if_applicable']