fix external email registration, Admin. Working solution.
This commit is contained in:
21
README.md
21
README.md
@@ -34,12 +34,6 @@ db.users.find({email:"EMAIL"}).pretty()
|
||||
db.users.update({email : OLDEMAIL},{$set: { email : NEWEMAIL}});
|
||||
```
|
||||
|
||||
## Coming soon
|
||||
|
||||
- Option that Admins can invite non LDAP User
|
||||
|
||||
|
||||
|
||||
## Configuration
|
||||
|
||||
### Domain Configuration
|
||||
@@ -74,15 +68,24 @@ LDAP_BINDDN: ou=someunit,ou=people,dc=DOMAIN,dc=TLS
|
||||
# By default tries to bind directly with the ldap user - this user has to be in the LDAP GROUP
|
||||
# you have to set a group filter a minimal groupfilter would be: '(objectClass=person)'
|
||||
LDAP_GROUP_FILTER: '(memberof=GROUPNAME,ou=groups,dc=DOMAIN,dc=TLD)'
|
||||
LDAP_CONTACTS: 'true'
|
||||
|
||||
# If user is in ADMIN_GROUP on user creation (first login) isAdmin is set to true.
|
||||
# Admin Users can invite external (non ldap) users. This feature makes only sense
|
||||
# when ALLOW_EMAIL_LOGIN is set to 'true'. Additionally adminsy can send
|
||||
# system wide messages.
|
||||
#LDAP_ADMIN_GROUP_FILTER: '(memberof=cn=ADMINGROUPNAME,ou=groups,dc=DOMAIN,dc=TLD)'
|
||||
ALLOW_EMAIL_LOGIN: 'false'
|
||||
|
||||
# All users in the LDAP_GROUP_FILTER are loaded from the ldap server into contacts.
|
||||
LDAP_CONTACTS: 'false'
|
||||
```
|
||||
|
||||
### LDAP Contacts
|
||||
|
||||
If you enable this, then all users in GROUPNAME are loaded from the ldap server into the contacts.
|
||||
If you enable this, then all users in LDAP_GROUP_FILTER are loaded from the ldap server into the contacts.
|
||||
At the moment this happens every time you click on "Share" within a project.
|
||||
The user search happens without bind - so if your LDAP needs a bind you can adapt this in the
|
||||
function `getLdapContacts()` in ContactsController.js (lines 82 - 107)
|
||||
function `getLdapContacts()` in ContactsController.js (lines 92)
|
||||
if you want to enable this function set:
|
||||
```
|
||||
LDAP_CONTACTS: 'true'
|
||||
|
||||
Reference in New Issue
Block a user