You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sharing when already shared results in misleading "No users or groups found" #4459
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Seen with opencloudeu/opencloud-rolling:9.1.0
Reproduction Steps
Alan shares a file with a long list of user, including Dennis.
Months later, Alan wants to share the same file with Dennis, due to the long list, he does not see that Dennis is already there. He types the name Dennis correctly, and gets an error "No Users or Groups found". This is a misleading error message. Dennis is found as a user, and also as a share receiver already.
Alan shared a folder with Mary.
Months later, Alan forgot, what he already shared, enters this folder and again without looking at the list, shares a file with Mary. This succeeds. Although it was already shared via the parent folder. OKish.
The behavior in these two examples is inconsistent.
Expected Outcome
In both cases, Alan should be informed about his earlier sharings.
First case, the Message should read "Dennis Ritche (already shared)" grayed out, so he cannot click on it.
Second case, the message should read "Mary Keller (folder already shared)" but still clickable, in case he wants to upgrade a readonly folder share to a read-write share for this file only.
Actual Outcome
Inconsistent.
In the first case, Alan may wonder what happend to Dennis, so that sharing is no longer possible.
Same issue exists with guest users:
The user may wonder, why the correctly typed email address does not work for sending guest links, but any incorrect email address seems to work.
Activity