From 53cc432225a67346f914b1f4f676a3bea6fed099 Mon Sep 17 00:00:00 2001 From: Sietse Snel Date: Thu, 1 Aug 2024 17:04:39 +0200 Subject: [PATCH] YDA-5863: fix log messages schema transformation The log messages for copying ACLs did not match the actions that the system was performing. --- schema_transformation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema_transformation.py b/schema_transformation.py index 817da02e9..1fd7a0984 100644 --- a/schema_transformation.py +++ b/schema_transformation.py @@ -141,10 +141,10 @@ def copy_acls_from_parent(ctx, path, recursive_flag): log.write(ctx, "iiCopyACLsFromParent: granting own to <" + user_name + "> on <" + path + "> with recursiveFlag <" + recursive_flag + ">") msi.set_acl(ctx, recursive_flag, "own", user_name, path) elif access_name == "read object": - log.write(ctx, "iiCopyACLsFromParent: granting own to <" + user_name + "> on <" + path + "> with recursiveFlag <" + recursive_flag + ">") + log.write(ctx, "iiCopyACLsFromParent: granting read to <" + user_name + "> on <" + path + "> with recursiveFlag <" + recursive_flag + ">") msi.set_acl(ctx, recursive_flag, "read", user_name, path) elif access_name == "modify object": - log.write(ctx, "iiCopyACLsFromParent: granting own to <" + user_name + "> on <" + path + "> with recursiveFlag <" + recursive_flag + ">") + log.write(ctx, "iiCopyACLsFromParent: granting write to <" + user_name + "> on <" + path + "> with recursiveFlag <" + recursive_flag + ">") msi.set_acl(ctx, recursive_flag, "write", user_name, path)