Add user email filtering logic.

This commit is contained in:
2025-05-21 10:43:42 +01:00
parent 003a3686a0
commit 248ca018e2
6 changed files with 219 additions and 33 deletions
+19
View File
@@ -45,6 +45,10 @@ testData:
- company.com
- subsidiary.com
allowedUsers: # Restricts access to specific email addresses regardless of domain
- [email protected]
- [email protected]
allowedRolesAndGroups: # Restricts access to users with specific roles or groups (if not provided, no role/group restrictions)
- guest-endpoints
- admin
@@ -215,6 +219,21 @@ configuration:
items:
type: string
allowedUsers:
type: array
description: |
Restricts access to specific email addresses.
If provided, only users with these exact email addresses will be allowed access,
in addition to any domain-level restrictions set by allowedUserDomains.
This provides fine-grained control over individual access and can be used
together with allowedUserDomains for flexible access control strategies.
Examples: ["[email protected]", "[email protected]"]
required: false
items:
type: string
allowedRolesAndGroups:
type: array
description: |