Skip to content

Commit

Permalink
Issue 51500: Better WebDAV support for Editor without Delete role, pa…
Browse files Browse the repository at this point in the history
…rt 2 (#5991)
  • Loading branch information
labkey-jeckels authored Oct 28, 2024
1 parent f08ca64 commit 7895f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/org/labkey/core/webdav/WebFilesResolverImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public boolean canDelete(User user, boolean forDelete, /* OUT */ @Nullable List<
if (user.isGuest() || !hasAccess(user))
return false;
Set<Class<? extends Permission>> perms = getPermissions(user);
return perms.contains(UpdatePermission.class) || perms.contains(DeletePermission.class);
return perms.contains(DeletePermission.class);
}

@Override
Expand Down

0 comments on commit 7895f00

Please sign in to comment.