Add discussion_entry.reply to permission cache blacklist

fixes VICE-4115
flag=react_discussions_post

test plan:
 - Specs pass
 - Follow steps on the ticket
 - Make sure reply buttons appear or disappear
     for students as expected.

Change-Id: Ie1c0b6c465f9835d68e52cd9abee4ca3bd923553
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341183
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Jason Gillett <jason.gillett@instructure.com>
This commit is contained in:
Omar Gerardo Soto-Fortuño 2024-02-23 15:07:08 -05:00 committed by Omar Soto-Fortuño
parent 29e3d9bb74
commit 15aefaf5f6
1 changed files with 1 additions and 0 deletions

View File

@ -23,4 +23,5 @@ ActiveRecord::Base.singleton_class.include(AdheresToPolicy::ClassMethods)
AdheresToPolicy.configure do |config|
config.cache_related_permissions = false
config.blacklist = ["discussion_entry.reply"]
end