Skip to content

Commit

Permalink
pkg/auth: fix access to public links pointing to project areas (#4196)
Browse files Browse the repository at this point in the history
* pkg/auth: fix access to public links pointing to project areas

* fix changelog title
  • Loading branch information
labkode authored Sep 19, 2023
1 parent 9e79d94 commit c86e958
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/unreleased/public-share-owner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugfix: access public links to projects as owner

https://github.com/cs3org/reva/pull/4196
2 changes: 1 addition & 1 deletion pkg/auth/manager/publicshares/publicshares.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (m *manager) Authenticate(ctx context.Context, token, secret string) (*user
}

getUserResponse, err := gwConn.GetUser(ctx, &user.GetUserRequest{
UserId: publicShareResponse.GetShare().GetCreator(),
UserId: publicShareResponse.GetShare().GetOwner(),
})
if err != nil {
return nil, nil, err
Expand Down

0 comments on commit c86e958

Please sign in to comment.