Skip to content

Conversation

@Antreesy
Copy link
Contributor

@Antreesy Antreesy commented Sep 28, 2024

  • Resolves: #

Summary

countDisabledUsersOfGroups expects array of groups ids, groups name were given instead. Due to this, users count might be faulty (usually name === id, but could be changed)

Before After
image image

Checklist

@Antreesy Antreesy added this to the Nextcloud 31 milestone Sep 28, 2024
@Antreesy Antreesy self-assigned this Sep 28, 2024
@Antreesy Antreesy marked this pull request as ready for review September 30, 2024 07:26
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

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

Could you also add a test for it?

@Antreesy
Copy link
Contributor Author

Could you also add a test for it?

Feel free to help. I see nothing in apps/settings/tests/Controller/UsersControllerTest.php that i could add/modify with my PHP-knowledge

@provokateurin provokateurin merged commit 54cdd42 into master Sep 30, 2024
@provokateurin provokateurin deleted the fix/noid/count-disabled-correct branch September 30, 2024 09:59
@Antreesy
Copy link
Contributor Author

/backport to stable30

@Antreesy
Copy link
Contributor Author

/backport to stable29

@Antreesy
Copy link
Contributor Author

/backport to stable28

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants