desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8ecdce21759e0e116ec85ec897b5b79331c49eab
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Thu Jul 3 18:23:10 2025 +0500
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Thu Jul 3 17:39:14 2025 +0200

    LOK: .uno:Save is allowed in AllowManageRedlines mode
    
    Change-Id: I4d31e16a9632c59aae2a7833167b53d9343e3ada
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187331
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index f870c005b85a..83c79026d57a 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -5362,7 +5362,7 @@ static bool isCommandAllowed(std::u16string_view command)
 
     if (command == u".uno:Save")
     {
-        return pViewShell->IsAllowChangeComments();
+        return pViewShell->IsAllowChangeComments() || 
pViewShell->IsAllowManageRedlines();
     }
 
     if (command == u".uno:TransformDialog")

Reply via email to