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:
parent
29e3d9bb74
commit
15aefaf5f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue