Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

CarbonNanotubes's avatar

Roles Based on AD Group

I am working on an application that allows users to authenticate with ADLDAP2 which I have working. My next task is to to apply access controls. I want users to have access to certain pages based on their AD group.

For example a user that is a member of the IT group has access to the admin dashboard while another user that is a member of the Shipping group has access to shipping related pages but not the admin dashboard.

I am not sure how I should approach this. Any ideas? Has anyone done this before?

0 likes
1 reply

Please or to participate in this conversation.