From 1a2b3937116f47c3adaa9acb4d05e1ed142d943f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Fri, 10 Jul 2026 16:28:21 +0200 Subject: [PATCH] Adjusted SudoStamp for v6 --- docs/infrastructure_and_maintenance/background_tasks.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/infrastructure_and_maintenance/background_tasks.md b/docs/infrastructure_and_maintenance/background_tasks.md index bf7f2c32cc..70de59ff21 100644 --- a/docs/infrastructure_and_maintenance/background_tasks.md +++ b/docs/infrastructure_and_maintenance/background_tasks.md @@ -119,13 +119,6 @@ Use [Stamps available in Symfony](https://github.com/symfony/symfony/tree/[[= sy [`SudoStamp`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Messenger-Stamp-SudoStamp.html) causes the handler to [use sudo mode](php_api.md#using-sudo), bypassing all permission checks when processing the message. -It's automatically attached to every dispatched message. - -!!! caution - - Starting with Ibexa DXP 5.0.9, the behavior of automatically attaching a `SudoStamp` to every message is deprecated and will be removed in 6.0. - For messages that should be processed without taking permissions into account, always attach the `SudoStamp` manually to keep your code forward-compatible. - The following example shows how you can attach the `SudoStamp` to the message: ``` php