Bug 54121 - search for "*" behaviour in school umc modules is not consistent
search for "*" behaviour in school umc modules is not consistent
Status: RESOLVED DUPLICATE of bug 50797
Product: UCS@school
Classification: Unclassified
Component: UMC - Classes / Teachers / Workgroup assignment
UCS@school 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-23 13:46 CET by Tobias Wenzel
Modified: 2022-05-31 12:39 CEST (History)
7 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.343
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Wenzel univentionstaff 2021-11-23 13:46:06 CET
When searching for UCS@school objects like groups, users or rooms, the 
behavior is not consistent, e.g.:

ucs-school-umc-users
        psw-reset -> asterisks are literal
	psw-reset-> asterisks are auto-added
        users (schools) -> asterisks are not added

ucs-school-umc-internetrules
	asterisks are wildcards
	asterisks are not auto-added

-> searching for UCS@school objects should be consistent for all UMC modules.
Comment 1 Johannes Keiser univentionstaff 2021-11-23 14:12:10 CET
(In reply to Tobias Wenzel from comment #0)
> ucs-school-umc-users
>         psw-reset -> asterisks are literal
> 	psw-reset-> asterisks are auto-added
>         users (schools) -> asterisks are not added
> 
> ucs-school-umc-internetrules
> 	asterisks are wildcards
> 	asterisks are not auto-added

This is not quite correct.
I checked the modules for the packages where to LDAPSearchSanitizer was added (Bug #32177)

This was the result:

ucs-school-umc-wizards
ucs-school-umc-groups
    asterisk are wildcards
    asterisk are not auto-added
        can't seach for substring without explicitly adding asterisks
ucs-school-umc-rooms
ucs-school-umc-internetrules
ucs-school-umc-users
    asterisk are literal
    asterisk are auto-added
Comment 4 Florian Best univentionstaff 2022-05-09 17:18:47 CEST
duplicate of Bug #50797 ?
Comment 5 Alexander Steffen univentionstaff 2022-05-31 12:34:26 CEST
Although this bug is only a partial duplicate of 50797 it will be incorporated into the fix of it, since both bugs are very similar.

*** This bug has been marked as a duplicate of bug 50797 ***
Comment 6 Florian Best univentionstaff 2022-05-31 12:39:28 CEST
(In reply to Alexander Steffen from comment #5)
> Although this bug is only a partial duplicate of 50797 it will be
> incorporated into the fix of it, since both bugs are very similar.
> 
> *** This bug has been marked as a duplicate of bug 50797 ***

Please document the differences at the target bug and mention the requirements there.