Is your feature request related to a problem? Please describe.
I have hubot listening to events from mattermost for further actions. Currently in the payload I see username, room, email_address, first_name, last_name, roles (mattermost roles). Will be great to get LDAP groups passed in as well. This will help in adding ACLs in hubot or some other plugin for more control on what users in a specific group can/cannot do
Describe the solution you'd like
payload to contain LDAP group(s) the user belongs to
Describe alternatives you've considered
Alternative is to base the controls on room or user names. With a lot of users, this will quickly become cumbersome
Is this possible/easy to do or is there something I need to set within mattermost?
I think this should be done on your side, not in mattermost-ldap. After you receive the events, you can fire another LDAP query to retrieve whatever information you need at that time.
Is your feature request related to a problem? Please describe. I have hubot listening to events from mattermost for further actions. Currently in the payload I see username, room, email_address, first_name, last_name, roles (mattermost roles). Will be great to get LDAP groups passed in as well. This will help in adding ACLs in hubot or some other plugin for more control on what users in a specific group can/cannot do
Describe the solution you'd like payload to contain LDAP group(s) the user belongs to
Describe alternatives you've considered Alternative is to base the controls on room or user names. With a lot of users, this will quickly become cumbersome
Is this possible/easy to do or is there something I need to set within mattermost?
Thank you!