mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-12-06 07:58:14 -05:00
chore: bump reva to 80d7b8e06fb8
Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
1 parent
25cf5c267a
commit
ca4648d2c4
5 files changed
+10
-5
No files matched your search
+1
@@ -304,6 +304,7 @@ func (s *service) DeleteOCMCoreShare(ctx context.Context, req *ocmcore.DeleteOCM
|
||||
if s.eventStream != nil {
|
||||
if err := events.Publish(ctx, s.eventStream, events.OCMCoreShareDelete{
|
||||
ShareID: share.Id.OpaqueId,
|
||||
Executant: share.GetCreator(),
|
||||
Sharer: share.GetOwner(),
|
||||
Grantee: ocmuser.DecodeRemoteUserFederatedID(&userpb.UserId{OpaqueId: grantee}),
|
||||
ResourceName: share.Name,
|
||||
|
||||
+5
-1
@@ -47,7 +47,11 @@ func (OCMCoreShareCreated) Unmarshal(v []byte) (interface{}, error) {
|
||||
|
||||
// OCMCoreShareDelete is emitted when an ocm share is requested for delete
|
||||
type OCMCoreShareDelete struct {
|
||||
ShareID string
|
||||
ShareID string
|
||||
// Executant is the remote user who created the share. The unshare
|
||||
// notification does not say who removed it, the creator is the closest
|
||||
// we know.
|
||||
Executant *user.UserId
|
||||
Sharer *user.UserId
|
||||
Grantee *user.UserId
|
||||
ResourceName string
|
||||
|
||||
Reference in new issue
Block a user