feat: add get my password policy (#346)

* feat: add get my password policy

* fix: failed merges
This commit is contained in:
Fabi
2020-07-06 15:35:20 +02:00
committed by GitHub
parent 5251fc712c
commit 645c4597e8
14 changed files with 18263 additions and 16374 deletions

View File

@@ -44,6 +44,7 @@ type EsRepository struct {
eventstore.UserGrantRepo
eventstore.OrgRepository
eventstore.IamRepository
eventstore.PolicyRepo
}
func Start(conf Config, authZ auth.Config, systemDefaults sd.SystemDefaults, authZRepo *authz_repo.EsRepository) (*EsRepository, error) {
@@ -173,6 +174,9 @@ func Start(conf Config, authZ auth.Config, systemDefaults sd.SystemDefaults, aut
IamEvents: iam,
IamID: systemDefaults.IamID,
},
eventstore.PolicyRepo{
PolicyEvents: policy,
},
}, nil
}