markleary / grav-plugin-loginldap

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

Store groups user belongs to in user's data. #11

Closed toomyem closed 7 years ago

toomyem commented 7 years ago

Creating array of groups allows further fine tuning user's rights via groups.yaml file. One can define group 'systemadmin' using rolemap in loginldap.yaml:

rolemap:
  systemadmin: CN=SystemAdministrator,OU=Roles,DC=com

and than for example give some rights to the users belonging to this group in groups.yaml:

systemadmin:
  access:
    site:
      front-end: true
toomyem commented 7 years ago

Any chance that it is going to be merged?

markleary commented 7 years ago

Sorry for delay, merging now, thanks!