Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Can't search for group names with less than 3 characters #7947

Closed

Description

@v-scharf

ownCloud Web UI 6.0.0-rc.6
Infinite Scale 2.0.0-rc.1+736f513cf Community

I came across the following situation:

  • admin creates group with name "QA"
  • admin adds users to group
  • admin shares resource to group

Actual: it is not possible, because request /ocs/v2.php/apps/files_sharing/api/v1/sharees?search=qa sends only when the user types in 3 letters.

What we can do in this situation:

@tbsbdr maybe we should forbid users to create a group or a name with less than 3 letters to avoid such situations. Or is there a nicer solution?

Activity

  1. v-scharf commented on Nov 24, 2022

    @v-scharf
    ContributorAuthor

    change group via api is not supported owncloud/ocis#5099

  2. changed the title [-]GroupName editing is not implement in web[/-] [+]Can't search for group names with less than 3 characters[/+] on Mar 10, 2023
  3. v-scharf commented on Sep 19, 2023

    @v-scharf
    ContributorAuthor

    This can be customized so it's not relevant
    https://doc.owncloud.com/ocis/next/deployment/services/s-list/frontend.html
    setting FRONTEND_SEARCH_MIN_LENGTH=2 solved problem

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category:Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions