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 3, 2024
1 parent 57d07f7 commit d516b76
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 @@ -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).
Expand Down

0 comments on commit d516b76

Please sign in to comment.