wekan / ldap

LDAP support for Wekan code has been moved to https://github.com/wekan/wekan/tree/master/packages/wekan-ldap , issues to https://github.com/wekan/wekan/issues , and if PRs are needed please add them instead to https://github.com/wekan/wekan/pulls
https://github.com/wekan/wekan/tree/master/packages/wekan-ldap
MIT License
12 stars 10 forks source link

Bug: Cannot remove members from Board or card #49

Open rnck opened 5 years ago

rnck commented 5 years ago

Hi,

a board admin of my wekan instance reported, that he cannot remove members from his board or from cards. By clicking remove the member diappears and re-appears shortly after. Though removement is logged, the member still has access to the board.

The member is authenticated via LDAP. The board admin is a local wekan user.

Server Setup Information:

Problem description:

Sorry, I cannot privide an animated gif because auf data privacy.

I tried to reproduce, but I couldn't. In my test boards (same server) removing members is possible.

Please see attachment wekan bug log 2019-09-26.zip

Please let me know if you need more information.

xet7 commented 5 years ago

You have Outgoing Webhook at that board, that Outgoing Webhook URL is wrong or does not work, you need to remove it, so you can add members to cards.

rnck commented 5 years ago

Adding members is not the problem. Removing them does not work. I'll check for the webhook.

rnck commented 5 years ago

There is no outgoing webhook in that board. Collection 'integrations' has 0 records. It seems that other boards are not affected.

JASG94 commented 5 years ago

Same problem here, can't delete a member in a board.

andreasgrill commented 4 years ago

Same problem, we have removed a user from Wekan but now an user "()" is visible. If I click on the user and then "Remove from Board", the user disappears but re-appears quickly.

xet7 commented 4 years ago

@andreasgrill

What Wekan version you have?

When I tested in Wekan v3.56 Snap, I did:

I did not have any errors. This is locally when not using LDAP.

When newest Wekan v3.56 for Univention is released in new future, I will test with Univention included LDAP.

andreasgrill commented 4 years ago

I used v.3.56 through docker-compose. The user was created with Password Authentication (although we have enabled LDAP later, but the admin panel said password authentication next to the user name).

What I did was I changed the password of the user. Then I logged in as the user -> Edit Profile -> Delete. After that the user still appeared on the boards that he previously was joined.

andreasgrill commented 4 years ago

Oh and when I select Remove Member the dialog says: "Remove undefined (undefined) from ..."

xet7 commented 4 years ago

Wekan can not remove any LDAP users from LDAP server. LDAP users should be removed from LDAP admin interface, not Wekan.

For non-technical features and fixes, you can contact my paid Commercial Support: https://wekan.team/commercial-support/

For some technical instructions, if it's possible for you:

Before any changes, please make backup: https://github.com/wekan/wekan/wiki/Backup

You can install same MongoDB version and expose MongoDB in docker-compose.yml.

To remove remaining user info, you can use nosqlbooster: https://nosqlbooster.com/downloads

For Docker, usually MongoDB is at port 27017. Snap MongoDB is at port 27019.

Those () users can be removed from users table/collection. For those boards, users can be removed from boards table/collection.

vasyugan commented 6 months ago

Wekan can not remove any LDAP users from LDAP server. LDAP users should be removed from LDAP admin interface, not Wekan.

This isn't about LDAP. This is about being unable to remove a user from a board. My own wekan instance doesn't use LDAP. It is a docker installation. Still I'v got that very problem. I even removed the user IN MONGODB and it would reappear after a few seconds. I've got the same symptom: The user name is shown, followed by '()'. Those two zombie users both have my user name, btw.