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

Case-sensitivity issues with ldap identity in the My Packages view #1531

Open
taojing2002 opened this issue Sep 24, 2020 · 0 comments
Open
Assignees
Labels

Comments

@taojing2002
Copy link

This ticket is to create a temporary fix for this issue:
https://redmine.dataone.org/issues/8869
When users click My Packages button, MetacatUI sends query like this:

rightsHolder:(
http\://orcid.org/0000-0003-0077-4738 OR
"CN=Matt Jones A729,O=Google,C=US,DC=cilogon,DC=org" OR
UID=jones,O=NCEAS,DC=ecoinformatics,DC=org
) OR writePermission:(
http\://orcid.org/0000-0003-0077-4738 OR
"CN=Matt Jones A729,O=Google,C=US,DC=cilogon,DC=org" OR
UID=jones,O=NCEAS,DC=ecoinformatics,DC=org
) OR changePermission:(
http\://orcid.org/0000-0003-0077-4738 OR
"CN=Matt Jones A729,O=Google,C=US,DC=cilogon,DC=org" OR
UID=jones,O=NCEAS,DC=ecoinformatics,DC=org
)

Note: The ldap account uses UID, O and DC. In the solr doc, they are lowercase: uid, o and dc. So we need to expand the query to cover the lowercase ldap account.

@laurenwalker laurenwalker self-assigned this Sep 25, 2020
@laurenwalker laurenwalker changed the title Expand ldap identity in the My Packages view Case-sensitivity issues with ldap identity in the My Packages view Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants