Skip to content

Always allow access if group_id is an empty string#61

Open
georgestagg wants to merge 1 commit intoCyberNinjas:masterfrom
georgestagg:any_group
Open

Always allow access if group_id is an empty string#61
georgestagg wants to merge 1 commit intoCyberNinjas:masterfrom
georgestagg:any_group

Conversation

@georgestagg
Copy link

@georgestagg georgestagg commented Oct 12, 2020

This change makes it so that the group membership check is skipped if group_id is empty.

The reasoning is that if our azure app is not authorised to read group membership with /checkMemberGroups, then this is a way to make pam_aad not worry about it, rather than error. (And group based access can be enforced with other PAM modules, if required.)

Using an empty group string causes the user group check to be skipped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants