OCM. [QA] federated user from different instances are indistinguishable when they share the same full name
Followup on https://github.com/owncloud/web/issues/11361
Steps to reproduce
Setup three machines with e.g.
env OCIS_DNSNAME=cat-7rc3-DATE OCIS_VERSION=v7.0.0-rc.3 ./deploy_ocis_bare_metal.sh env OCIS_DNSNAME=dog-7rc3-DATE OCIS_VERSION=v7.0.0-rc.3 ./deploy_ocis_bare_metal.sh env OCIS_DNSNAME=elf-7rc3-DATE OCIS_VERSION=v7.0.0-rc.3 ./deploy_ocis_bare_metal.sh
mutually register the machines in their ocmproviders.json; service ocis restart
At machine dog, create user carol and bob. At elf and cat, create a user bob with different mail addresses. carol invites both external bob's and they accept. When carol shares a folder, with all three bobs, the search results expose full name and email. OK But later, we cannot distinguish multiple external users "Bob Builder". (In this example one Bob is misspelled as Bpb, luckily...)
Specifically: Shares -> 'Shared with others' should clearly identify the share receivers. It should include the name of the remote instance in case of federated shares.
Shares -> 'Shared with me' should clearly identify the sharer. It should include the name of the remote instance in case of federated shares.
Expected behavior
The email should be exposed too. The name of the federated machine should show up in the details.
@hodyroff fyi.
I think this is a web issue. We could use the issuer value from the identities property in the graph users response to distinguish federated users coming from different federated servers.
I can use the issuer in the search input field, any other places don't have this information though. It seems to be missing in the permissions and the sharedWithMe responses from the server.
Issuer has been added to the share input field via https://github.com/owncloud/web/pull/12002. For the rest, see my comment above. Transferring the issue to the ocis repo again because of that.
We can decode the "Federated" user id to differentiate the users. Created the web ticket.
With the latest web and ocis, I see these details:
If these are the desired ones, then I would like to close this issue here.
CC @LukasHirt @2403905
Yep, the Web ticket is closed - https://github.com/owncloud/web/issues/12184 I do not see anything additional in this issue.