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

Fix "searchUsers" usage in Group_LDAP.php #25318

Merged
merged 1 commit into from
Mar 30, 2021
Merged

Fix "searchUsers" usage in Group_LDAP.php #25318

merged 1 commit into from
Mar 30, 2021

Conversation

hho
Copy link
Contributor

@hho hho commented Jan 25, 2021

Access::searchUsers expects an array as the second parameter, Group_LDAP.php called the method with a simple string, resulting in an exception and preventing folders shared with dynamic groups from working. This trivial change fixes the usage in Group_LDAP.

Fixes #25163

`Access::searchUsers` expects an array as the second parameter, `Group_LDAP.php` called the method with a simple string, resulting in an exception and preventing folders shared with dynamic groups from working. This trivial change fixes the usage in Group_LDAP.

Fixes #25163

Signed-off-by: Henning Hoefer <hho@users.noreply.github.com>
@PVince81 PVince81 requested a review from blizzz March 17, 2021 09:24
@blizzz blizzz added this to the Nextcloud 22 milestone Mar 17, 2021
@blizzz
Copy link
Member

blizzz commented Mar 17, 2021

/backport to stable21

@blizzz
Copy link
Member

blizzz commented Mar 17, 2021

/backport to stable20

@blizzz
Copy link
Member

blizzz commented Mar 17, 2021

/backport to stable19

@blizzz
Copy link
Member

blizzz commented Mar 17, 2021

@hho thank you for the fix! :)

@ChristophWurst ChristophWurst merged commit c9e1821 into nextcloud:master Mar 30, 2021
@welcome
Copy link

welcome bot commented Mar 30, 2021

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

@backportbot-nextcloud
Copy link

The backport to stable21 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable19 failed. Please do this backport manually.

@rullzer
Copy link
Member

rullzer commented Mar 30, 2021

@blizzz backports failed :(

@blizzz
Copy link
Member

blizzz commented Mar 30, 2021

@blizzz backports failed :(

Interestingly the fix was already there (21 and below) from #25361 and its backports. No idea why this master was lacking the change, the blame before for this line goes back 12 months in the past.

@blizzz
Copy link
Member

blizzz commented Mar 30, 2021

Probably just overwriting the change from the mentioned PR which was merged only few days after this PR here was opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't delete a shared folder if the users are members of a dynamic LDAP Group
4 participants