mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-19 12:07:18 +02:00
move directory providers (#3633)
* remove directory providers and support for groups * idp: remove directory providers * better error messages * fix errors * restore postgres * fix test
This commit is contained in:
parent
bb5c80bae9
commit
c178819875
78 changed files with 723 additions and 8703 deletions
|
@ -47,15 +47,6 @@ func (p *Policy) ToPPL() *parser.Policy {
|
|||
},
|
||||
})
|
||||
}
|
||||
for _, ag := range p.AllAllowedGroups() {
|
||||
allowRule.Or = append(allowRule.Or,
|
||||
parser.Criterion{
|
||||
Name: "groups",
|
||||
Data: parser.Object{
|
||||
"has": parser.String(ag),
|
||||
},
|
||||
})
|
||||
}
|
||||
for _, aic := range p.AllAllowedIDPClaims() {
|
||||
var ks []string
|
||||
for k := range aic {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue