Closed ScharfViktor closed 1 month ago
test agains this fix #10219 no panic - ✅️
but request GET https://federation-ocis-server:10200/graph/v1beta1/me/drive/sharedWithMe gets 400 and user cannot longer see all shared with him files
{
"error": {
"code": "invalidRequest",
"innererror": {
"date": "2024-10-02T10:13:41Z",
"request-id": "fc71fb01-e2d6-4c22-8859-6c61df484021"
},
"message": "unsupported resource type for federated role"
}
}
log:
2024-10-02T12:13:36+02:00 WRN http end="02/Oct/2024:12:13:36 +0200" host=127.0.0.1 line=/Users/scharfviktor/Work/ocis/vendor/github.com/cs3org/reva/v2/internal/http/interceptors/log/log.go:112 method=GET pkg=rhttp proto=HTTP/1.1 service=storage-system size=0 start="02/Oct/2024:12:13:36 +0200" status=404 time_ns=304583 traceid=bc80d4a13e146c8dcf4d2c7b39d00bc8 uri=/data/spaces/jsoncs3-share-manager-metadata%21jsoncs3-share-manager-metadata/users/some-admin-user-id-0000-000000000000/received.json url=/users/some-admin-user-id-0000-000000000000/received.json
2024-10-02T12:13:41+02:00 ERR could not convert received shares to drive items error="invalidRequest: unsupported resource type for federated role" line=/Users/scharfviktor/Work/ocis/services/graph/pkg/service/v0/sharedwithme.go:58 service=graph
2024-10-02T12:13:41+02:00 ERR listSharedWithMe failed error="invalidRequest: unsupported resource type for federated role" line=/Users/scharfviktor/Work/ocis/services/graph/pkg/service/v0/sharedwithme.go:21 service=graph
fixed
Steps:
And "Alice" has generated invitation
And using server "REMOTE"
And "Brian" has accepted invitation
And using server "LOCAL"
When "Alice" shares folder to "Brian"
When "Alice" deletes access of folder to "Brian"
Expected: Actual: server of the Brian is crashed log:
Uploading Screen Recording 2024-10-02 at 09.35.19.mov…