Skip to content

Commit

Permalink
isReadableByUser true for 'own' as well as 'read'
Browse files Browse the repository at this point in the history
  • Loading branch information
dkj committed Nov 5, 2024
1 parent 76d189c commit 243e1c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/irods.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 243e1c6

Please sign in to comment.