You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I setup a Discourse server on Yunohost and I'd like only a Yunohost (LDAP) users to login. I would like to set Discourse to "invite only" mode to disable public registration (and the "Registration" button) itself, but I'd like users to be created using LDAP. Would it be possible to override "invite only" setting for LDAP users?
The text was updated successfully, but these errors were encountered:
I am not super familar with Discourse's "invite only" mode. It seems like it is set at the user group level. Is that correct?
The plugin does allow specify user groups on a per-user basis when using the list user account creation mode, e.g.:
- :name: Example User
:email: [email protected]
:username: example_user
:groups: ['Discourse Invite Only Group']
It sounds like this doesn't meet your use case since this has to be declared on a per-user basis, and you want this behavior for all LDAP users created w/ the auto user creation mode. The plugin currently doesn't allow this, but we could easily add a plugin config to allow declaring a default user group for all LDAP users by udpating this bit of the plugin code: https://github.com/jonmbake/discourse-ldap-auth/blob/master/lib/ldap_user.rb#L9.
I setup a Discourse server on Yunohost and I'd like only a Yunohost (LDAP) users to login. I would like to set Discourse to "invite only" mode to disable public registration (and the "Registration" button) itself, but I'd like users to be created using LDAP. Would it be possible to override "invite only" setting for LDAP users?
The text was updated successfully, but these errors were encountered: