Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching for a user or group is case-sensitive #3534

Closed
ScharfViktor opened this issue Apr 13, 2022 · 3 comments
Closed

Searching for a user or group is case-sensitive #3534

ScharfViktor opened this issue Apr 13, 2022 · 3 comments

Comments

@ScharfViktor
Copy link
Contributor

ocis local v.1.20

  • start ocis with idm (https://owncloud.dev/extensions/idm/setup/)
  • create new user "marie" (displayName and onPremisesSamAccountName- low case)
  • create new group "new group" (displayName is low case)
  • try to share file to "Marie" or "New group"

Expected: Marie and the New Group are found in the sharing dialog

Actual: user or group not found.
and reverse: If we create a user or group in upper case, we cannot find them in lower case.

@phil-davis
Copy link
Contributor

Note: in oC10 groups are case-sensitive. "Finance" and "finance" are two different groups. But when starting to share with "Fina" or "fina" both groups "Finance" and "finance" are shown as possibilities in the classic webUI and by the API that returns the potential matches.

In oC10 users are not case-sensitive - "Marie" and "marie" are the same user.

@rhafer
Copy link
Contributor

rhafer commented Apr 21, 2022

This seems to be a bug in the substring filtering code in libregraph/idm. It only seems to happen in when using substring search, like e.g when trying to share with users/groups. (Still need to take a deeper look into that)

Regarding the case-sensitivness: As we're currently backed by an LDAP server by default in oCIS, user- and groupnames are both case-insensitive. It should not even be possible to create the groups Finance and finance at the same time. (If it is, that would be another bug in libregraph/idm)

@rhafer rhafer added this to Qualification in Infinite Scale Team Board via automation Jul 4, 2022
@rhafer rhafer removed their assignment Jul 4, 2022
@rhafer
Copy link
Contributor

rhafer commented Jul 14, 2022

Duplicate of #547

@rhafer rhafer marked this as a duplicate of #547 Jul 14, 2022
@rhafer rhafer closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2022
Infinite Scale Team Board automation moved this from Qualification to Done Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

3 participants