Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit e358bb2

Browse files
committed
Added nested group limitation example.
1 parent 823f269 commit e358bb2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,14 @@ For example, to allow only users with an email address, insert the filter: `(mai
460460
'limitation_filter' => '(mail=*)',
461461
```
462462

463+
For another example, here's how you can limit users logging in that are apart of a specific group:
464+
465+
> **Note**: This will also allow nested group users to login as well.
466+
467+
```php
468+
'limitation_filter' => '(memberof:1.2.840.113556.1.4.1941:=CN=AppAllowed,DC=example,DC=com)',
469+
```
470+
463471
#### Multiple Authentication Connections
464472

465473
> **Note**: This feature was introduced in `v2.0.0`.

0 commit comments

Comments
 (0)