Unable to add new members to team #101

Closed
opened 2025-11-01 20:46:57 -05:00 by GiteaMirror · 10 comments
Owner

Originally created by @canadaduane on GitHub (Nov 1, 2022).

Description

When trying to add a member to the team, the drop-down does not autosuggest anyone, and therefore I cannot add anyone to the team.

I can confirm that the request is being made--in the network tab the /api/v1/users?s=[query] call is being made, but the response is always null, even when I type the initial letters of a team member that I know is in the system (for example, when I removed "ava" from the team, then tried to add her back, typing "a" or "av" or "ava" does not autosuggest her user).

Vikunja Frontend Version

0.20.0

Vikunja API Version

0.20.0

Browser and version

Firefox 106.0.1

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

image

Originally created by @canadaduane on GitHub (Nov 1, 2022). ### Description When trying to add a member to the team, the drop-down does not autosuggest anyone, and therefore I cannot add anyone to the team. I can confirm that the request is being made--in the network tab the `/api/v1/users?s=[query]` call is being made, but the response is always null, even when I type the initial letters of a team member that I know is in the system (for example, when I removed "ava" from the team, then tried to add her back, typing "a" or "av" or "ava" does not autosuggest her user). ### Vikunja Frontend Version 0.20.0 ### Vikunja API Version 0.20.0 ### Browser and version Firefox 106.0.1 ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots ![image](https://user-images.githubusercontent.com/129/199253539-102b53ed-195b-4230-8843-ee33f11c37ab.png)
Author
Owner

@dpschen commented on GitHub (Nov 1, 2022):

This is definitely a mistake. Will investigate.

@dpschen commented on GitHub (Nov 1, 2022): This is definitely a mistake. Will investigate.
Author
Owner

@kolaente commented on GitHub (Nov 1, 2022):

There have been changes to the way user Search works in the last release to avoid enumerating all users on a server. This mostly means you'll need to enter the exact username of the user you're trying to add or (if they have it enabled) the exact email or display name of the user.
Can you check if it works if you try it like that?

@kolaente commented on GitHub (Nov 1, 2022): There have been changes to the way user Search works in the last release to avoid enumerating all users on a server. This mostly means you'll need to enter the exact username of the user you're trying to add or (if they have it enabled) the exact email or display name of the user. Can you check if it works if you try it like that?
Author
Owner

@canadaduane commented on GitHub (Nov 2, 2022):

Yes, it works if I add the exact username. Is there a list of users somewhere?

@canadaduane commented on GitHub (Nov 2, 2022): Yes, it works if I add the exact username. Is there a list of users somewhere?
Author
Owner

@kolaente commented on GitHub (Nov 2, 2022):

You can use the vikunja user list command to show a list of all users.

@kolaente commented on GitHub (Nov 2, 2022): You can use the [`vikunja user list`](https://vikunja.io/docs/cli/#user-list) command to show a list of all users.
Author
Owner

@dpschen commented on GitHub (Nov 9, 2022):

Maybe we should change this so that admins can have access to the user names.
They are admins after all

@dpschen commented on GitHub (Nov 9, 2022): Maybe we should change this so that admins can have access to the user names. They are admins after all
Author
Owner

@kolaente commented on GitHub (Nov 9, 2022):

@dpschen The admin permission is only applied to the current team. The search is globally, on the server.

@kolaente commented on GitHub (Nov 9, 2022): @dpschen The admin permission is only applied to the current team. The search is globally, on the server.
Author
Owner

@dpschen commented on GitHub (Nov 9, 2022):

Okay, that makes sense.
We should still improve the UX here somehow. And if it's only to describe what you can search for, why it's that restricted and how you can change that.

@dpschen commented on GitHub (Nov 9, 2022): Okay, that makes sense. We should still improve the UX here somehow. And if it's only to describe what you can search for, why it's that restricted and how you can change that.
Author
Owner

@dpschen commented on GitHub (Nov 9, 2022):

Does adding via mail always work? Because that should. If the person is not registered I guess an invitation should be sent

@dpschen commented on GitHub (Nov 9, 2022): Does adding via mail always work? Because that should. If the person is not registered I guess an invitation should be sent
Author
Owner

@kolaente commented on GitHub (Nov 9, 2022):

Does adding via mail always work?

It only works if the user is discoverable by searching for the mail address.

@kolaente commented on GitHub (Nov 9, 2022): > Does adding via mail always work? It only works if the user is discoverable by searching for the mail address.
Author
Owner

@kolaente commented on GitHub (Nov 9, 2022):

If the person is not registered I guess an invitation should be sent

I think there's an item somewhere in the backlog about this.

@kolaente commented on GitHub (Nov 9, 2022): > If the person is not registered I guess an invitation should be sent I think there's an item somewhere in the backlog about this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#101