Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass user LDAP groups #94

Open
pvyaka01 opened this issue Aug 2, 2022 · 1 comment
Open

Pass user LDAP groups #94

pvyaka01 opened this issue Aug 2, 2022 · 1 comment
Assignees

Comments

@pvyaka01
Copy link

pvyaka01 commented Aug 2, 2022

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!

@WanpengQian
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants