From d516b761135d428da0d0c21c190d1c2b1b1d7e3b Mon Sep 17 00:00:00 2001 From: "David K. Jackson" Date: Sun, 3 Nov 2024 19:50:51 +0000 Subject: [PATCH] isReadableByUser true for 'own' as well as 'read' --- server/irods.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/irods.go b/server/irods.go index d7760e3..49bd9a6 100644 --- a/server/irods.go +++ b/server/irods.go @@ -221,7 +221,8 @@ func isReadableByUser(logger zerolog.Logger, filesystem *ifs.FileSystem, if effectiveUserZone == userZone && ac.UserName == userName && - ac.AccessLevel == types.IRODSAccessLevelReadObject { + ( ac.AccessLevel == types.IRODSAccessLevelReadObject || + ac.AccessLevel == types.IRODSAccessLevelOwner ) { logger.Trace(). Str("path", rodsPath). Str("user", userName).