mirror of
https://github.com/mattermost/mattermost.git
synced 2026-11-04 13:16:45 -06:00
* Add new feature flag and abac permission policy for BoR * Rename HasPermissionToFileAction to more general HasPermissionToChannelAction * Added feature flag for BoR Permission Action, added front-end controls for adding BoR actions to policy * Added enforcement of BurnOnRead for ABAC at request time * Added webapp client-side rendering of create BoR permission * Additional server tests to ensure proper error response for rejected burn-on-read * When BoR is disabled, disable send button for remaining BoR drafts and reschedule/edit/sendNow buttons for scheduled BoR posts * Added e2e tests for general feature coverage * Disable send and schedule buttons in the client in the draft row for lingering BoR drafts when ABAC BoR is revoked * Update e2e test for BoR control to be isVisible vs Attached for better coverage * Properly disable BoR from wysiwyg editor * Style fix * Fix scheduled_post_test to verify post type cannot be changed * Removed Feature Flag for ABAC BurnOnRead * Updated documentation for Burn-On-Read permission policy * coderabbit feedback - minor test improvements * make keyboard submission consistent for BoR * fixed broken unit test * Add required feature flag for testing BoR ABAC Channel Policy * added clarity in documentation to behavior of burn-on-read policy being revoked * Added disclaimer about ABAC permission policies and where they apply and do not * Added requirement for channel permission policies in documentation - based on review feedback * Added translation description to new error message * Renamed merged-in method calls to HasPermissionToFileAction * Added missing descriptions to webapp/en.json * Fix typo in mock * minor typo fix in docs * Add missing label for BoR action in Policy Table * Update en.json with updated description text * Update e2e test to fix updated permission policy description text