Files
mattermost/server
Nate Schlossberg 91b4450e49 [MM-70692] New ABAC Permission Policy: Burn on Read (#38656)
* 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
2026-09-30 17:47:45 -07:00
..
2023-03-22 17:22:27 -04:00
2023-03-22 17:22:27 -04:00
2023-03-22 17:22:27 -04:00
2023-03-22 17:22:27 -04:00
2026-09-22 13:12:48 +03:00
2026-09-22 13:12:48 +03:00
2024-05-15 12:05:13 -03:00