Skip to content

Commit

Permalink
fix tag events executant
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade committed Oct 28, 2022
1 parent 0f407a1 commit 3b65df3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/http/services/owncloud/ocdav/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
"github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/errors"
"github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/net"
"github.com/cs3org/reva/v2/pkg/appctx"
ctxpkg "github.com/cs3org/reva/v2/pkg/ctx"
"github.com/cs3org/reva/v2/pkg/events"
"github.com/cs3org/reva/v2/pkg/rhttp/router"
"github.com/cs3org/reva/v2/pkg/storagespace"
Expand Down Expand Up @@ -88,7 +89,7 @@ func (h *TagHandler) handleCreateTags(w http.ResponseWriter, r *http.Request, s
Path: ".",
},
SpaceOwner: info.Owner,
Executant: info.Owner,
Executant: ctxpkg.ContextMustGetUser(r.Context()).Id,
}
})
}
Expand All @@ -110,7 +111,7 @@ func (h *TagHandler) handleDeleteTags(w http.ResponseWriter, r *http.Request, s
Path: ".",
},
SpaceOwner: info.Owner,
Executant: info.Owner,
Executant: ctxpkg.ContextMustGetUser(r.Context()).Id,
}
})
}
Expand Down

0 comments on commit 3b65df3

Please sign in to comment.