mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: Members List in "Add Users" is not synced up with members list in board view #613
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NikolaeVarius on GitHub (Nov 28, 2024).
Where is the problem occurring?
I encountered the problem while using the application (Frontend)
What browsers are you seeing the problem on?
Chrome, Firefox
Current behaviour
This issue popped up suddenly. I am currently updated to the latest v1.24.2, however it started before that (which prompted updating to the latest version). I am using the docker compose variant of the application.
We currently have 27 members in our Planka board. We tried to add a new user, however, even though the user shows up in the "Add Users" popup, they are not to be found on the kanban board "member" list. I then realized we had more members on the "Add Users" popup than the "members" list
I don't see any errors associated in either the planka or postgres logs
Desired behaviour
Users in the "Add Users" page should always sync with the "members" list
Steps to reproduce
Our "members" currently has 27 users listed,
Lets add an arbitrary dumb user zzzzzz@gmail.com that currently does not exist

The user has been added and a 28th user was added

Other information
Attempted to see if maybe DB writes are not getting through, but they must be because I see the email uniqueness constraint
Also I deleted my personal user from the "Add Users" page and I can still log back in with that user, but that user is not on the "Add Users" page, however it IS still listed on the "members" list and I have no issues with continuing with admin commands
@meltyshev commented on GitHub (Nov 28, 2024):
Hi! I'm trying to reproduce this, but so far everything is working correctly for me. It looks like two data sources are active simultaneously, trying to figure out why this might be happening.
@NikolaeVarius commented on GitHub (Nov 28, 2024):
Just for additional context, docker-compose process list
and yml
@meltyshev commented on GitHub (Nov 28, 2024):
Hmmm... So, if you open the Users Modal (with the list of all users) and then the Add Member popup without refreshing the page, do they display different users? That's very strange because users are loaded only once, and the source of users should be the same (with the only difference that the current user is not displayed in the Users Modal). Or does this issue only happen after refreshing the page?
@NikolaeVarius commented on GitHub (Nov 28, 2024):
Same behavior either way. I only mentioned the refresh to show I attempted to force the user refresh


Still the same
@meltyshev commented on GitHub (Nov 28, 2024):
The current board users shouldn't change automatically when new users are added to the system. Instead, new users can be added to the board manually using the "+" button located to the right of the board users list. If you don't see this button, it means you are not a project manager (in which case, you also won't have permission to edit or delete boards).
If you're not a manager but should be, there are two options to resolve this:
We already fixed this issue in v2 (which has not been released yet). Admins will be able to see all shared projects and add themselves as managers directly.
@NikolaeVarius commented on GitHub (Nov 28, 2024):
Ah thanks I'll close this out.
I didn't know there was a Board manager role vs Admin role. This looks to be all sorted out now.
Thank you