[NEW] Bypass Time limits permission
Proposed changes (including videos or screenshots)
This PR adds a new permission called bypass-time-limit-edit-and-delete, to bypass the time limit when editing or deleting a message, the purpose of this PR is to remove the limitation for bots that cannot change the message after the specified time.
Issue(s)
Steps to test or reproduce
- Add a Jira integration with RC such that it creates threads in RC, and when the status of the Jira task is updated, the first message in the thread in RC gets updated via REST API to correspond to the Jira status.
- In RC, go to Administration -> Message -> Block Message Editing After X Minutes and set the value to 10
- Update the status of the Jira task after 10 minutes
Further comments
Codecov Report
Merging #27644 (9bc72d6) into develop (e86f1af) will increase coverage by
0.07%. The diff coverage is57.14%.
@@ Coverage Diff @@
## develop #27644 +/- ##
===========================================
+ Coverage 41.60% 41.67% +0.07%
===========================================
Files 849 849
Lines 17556 17560 +4
Branches 2087 2087
===========================================
+ Hits 7305 7319 +14
+ Misses 9979 9967 -12
- Partials 272 274 +2
| Flag | Coverage Δ | |
|---|---|---|
| e2e | 41.67% <57.14%> (+0.07%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
wait that fix a lot! thank you!
This PR currently has a merge conflict. Please resolve this and then re-add the ['stat: ready to merge', 'automerge'] label.
@hugocostadev could you review this again?