markleary / grav-plugin-loginldap

Grav LoginLdap Plugin http://getgrav.org
MIT License
5 stars 4 forks source link

Allow entries in 'rolemap' in loginldap.yaml to use nested mappings for more control. #9

Open AdamEttenberger opened 7 years ago

AdamEttenberger commented 7 years ago

Allow entries in 'rolemap' in loginldap.yaml to use nested mappings for more control. Now you may define the following ...

rolemap:
  student: CN=Grad,ou=People,dc=example,dc=com
  hqstaff:
    login: CN=hqstaff,ou=People,dc=example,dc=com
    super: CN=hqadmin,ou=People,dc=example,dc=com