Skip to content

Sharee substring - #4229

Merged
rhafer merged 6 commits into
owncloud:masterfrom
rhafer:sharee-substring
Jul 20, 2022
Merged

rhafer merged 6 commits into
owncloud:masterfrom
rhafer:sharee-substring

Conversation

@rhafer

@rhafer rhafer commented Jul 19, 2022

Copy link
Copy Markdown
Contributor

Description

Allow configuration of substring search for searching sharees

This introduces new settings for the users and groups services. "group_substring_filter_type" for the group services and
"user_substring_filter_type" for the users service. They allow to set the type of LDAP filter that is used for substring user searches. Possible values are: "initial", "final" and "any" to do either prefix, suffix or full substring searches.

Related Issue

@micbar

micbar commented Jul 19, 2022

Copy link
Copy Markdown
Contributor

Awesome!

@mmattel Can you look at it with the 👀 of a strong ENV variable naming and description master? 😀

@ownclouders

ownclouders commented Jul 19, 2022 •

Copy link
Copy Markdown
Contributor

💥 Acceptance test Core-API-Tests-ocis-storage-10 failed. Further test are cancelled...

Comment thread services/frontend/pkg/config/config.go Resolved
Comment thread services/groups/pkg/config/config.go Resolved
Comment thread services/users/pkg/config/config.go Resolved
@mmattel

mmattel commented Jul 19, 2022 •

Copy link
Copy Markdown
Contributor

Can you look at it...

Done, only minor things found, @rhafer will check if a default value for search min chars is defined which is then exported by the doc.

@rhafer
rhafer force-pushed the sharee-substring branch 2 times, most recently from 393c255 to c13c0c1 Compare July 19, 2022 14:54

@micbar micbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

rhafer added 6 commits July 20, 2022 08:45
This includes a fix for case-insensitive substring filtering

Partial-Fix: owncloud#547
This introduces new settings for the users and groups services.
"group_substring_filter_type" for the group services and
"user_substring_filter_type" for the users service. They allow to set
the type of LDAP filter that is used for substring user searches.
Possible values are: "initial", "final" and "any" to do either prefix,
suffix or full substring searches.

Fixes owncloud#547
This adds the "search_min_length" setting to the frontend service which
allows to set the search_min_length capabilty which is e.g. used by
web.

Partial: owncloud#547
@rhafer
rhafer force-pushed the sharee-substring branch from c13c0c1 to 693995a Compare July 20, 2022 06:45
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Searching sharee with displayname

4 participants