From 243e1c630c17ad1341125ea34460541aebacf15c 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 f85f0ff..a50e33f 100644 --- a/server/irods.go +++ b/server/irods.go @@ -211,7 +211,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).