PM 'Invite Others' button disabled when local logins disabled

I understand that disabling invites is intended behaviour when local logins are disabled, but it seems to have the knock on effect of removing any way to add a new user to a PM:

https://github.com/discourse/discourse/blob/8a5f8d62b2e07575db3581a80212e024610cfbba/app/assets/javascripts/discourse/templates/components/private-message-map.hbs#L22

https://github.com/discourse/discourse/blob/e29fe77b4578c67e6d719e87e56833342797d7af/lib/guardian.rb#L215

1 Like

Maybe, @techapj can you have a look?

Fixed via:

https://github.com/discourse/discourse/commit/9f8d6b6088912295421ebd04cf865677868a45ab


Also note that now user will also be able to invite existing users to a topic when local logins are disabled.

6 Likes