-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 Bug: Mention autocomplete can shows deactivated members of a space #6398
Comments
the end point GET /api/users/234/workspaces/all/settings is suppose to return the workspace settings of the given user, it should not be used for mention and should not contain other user, apart for the user asked ( and the owner of the different workspace ) |
At the current state (tracim 4.8.0) when using a mention, tracim will use either know member list ( for the recent activities and dashboard) or the current workspace member list to find the list of available user for mention,
|
@Millefeuille42 could you comment here what solution you are implementing? In last comment, there are 3 options, the first thing to do is to comment here what you plan to do. |
Solution implemented in #6501 is to add "is_active" field to the response of known_members endpoint. Then in frontend the autocomplete will filter out the inactive users. |
I agree this is the best solution 馃憤 |
FIRST ACTION IS TO UPDATE DESCRIPTIOn AND TITLE OF THE ISSUE
Tracim version
4.8.0
Issue description
When creating a mention, the autocomplete popin sometimes show deactivated users.
It appears endpoint GET /api/users/234/workspaces/all/settings returns deactivated users, it should do so when passed a path parameter and the default behavior should be to do not.
How to reproduce
The issue happens intermittently.
Screenshots
No response
What browsers are you seeing the problem on?
No response
What devices are you seeing the problem on?
No response
Related PR
#6501
The text was updated successfully, but these errors were encountered: