From 7895f0039754bf2ab0b0e4bc2ef4d2efc570bb0a Mon Sep 17 00:00:00 2001 From: Josh Eckels Date: Mon, 28 Oct 2024 10:12:08 -0700 Subject: [PATCH] Issue 51500: Better WebDAV support for Editor without Delete role, part 2 (#5991) --- core/src/org/labkey/core/webdav/WebFilesResolverImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/org/labkey/core/webdav/WebFilesResolverImpl.java b/core/src/org/labkey/core/webdav/WebFilesResolverImpl.java index f6f306d545d..fe7b3819732 100644 --- a/core/src/org/labkey/core/webdav/WebFilesResolverImpl.java +++ b/core/src/org/labkey/core/webdav/WebFilesResolverImpl.java @@ -255,7 +255,7 @@ public boolean canDelete(User user, boolean forDelete, /* OUT */ @Nullable List< if (user.isGuest() || !hasAccess(user)) return false; Set> perms = getPermissions(user); - return perms.contains(UpdatePermission.class) || perms.contains(DeletePermission.class); + return perms.contains(DeletePermission.class); } @Override