Coder Social home page Coder Social logo

Comments (7)

come-nc avatar come-nc commented on September 25, 2024 1

Version 27 was using this endpoint: /ocs/v2.php/cloud/users/details?offset=0&limit=25&search=<search>. Maybe it can help to reenable it?

Reenable it where?
It is still used for enabled users I think. The problem is disabled users are now fetched through a dedicated endpoint and search was not baked in.

from server.

sorbaugh avatar sorbaugh commented on September 25, 2024

Looping in @Altahrim and @Fenn-CS as this seems related to Unified Search

from server.

joshtrichards avatar joshtrichards commented on September 25, 2024

Reminds me of #43658 a little.

from server.

Pytal avatar Pytal commented on September 25, 2024

Had a look and filtering in the disabled users section doesn't work like it does in "Active users" because we use an optimized endpoint for querying disabled users which unlike the general users endpoint does not accept a search query

We would need to accept a search query here

public function getDisabledUserList(?int $limit = null, int $offset = 0): array;
and update the LDAP implementation cc @come-nc

from server.

come-nc avatar come-nc commented on September 25, 2024

It’s a bit complicated to support search in disabled users. We’d need to add a search parameter to implementations of IProvideEnabledStateBackend, which means adding yet another interface as this one is out already.
Or we filter in user management but that will be slow and resource expensive.

from server.

Pytal avatar Pytal commented on September 25, 2024

It’s a bit complicated to support search in disabled users. We’d need to add a search parameter to implementations of IProvideEnabledStateBackend, which means adding yet another interface as this one is out already. Or we filter in user management but that will be slow and resource expensive.

I'd say the best option would be adding the search param as since user listing is paginated then filtering on frontend only would show no existing user if they have not already been fetched in the batch of paged users unlike in "Active users"

from server.

Altahrim avatar Altahrim commented on September 25, 2024

Version 27 was using this endpoint: /ocs/v2.php/cloud/users/details?offset=0&limit=25&search=<search>. Maybe it can help to reenable it?

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.