From 0f6dd33a6b9943fdd904c93b40155997a0fd4c33 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 19 Feb 2020 09:49:57 +0100 Subject: [PATCH] api: add expression policy to API URLs --- passbook/api/v2/urls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/passbook/api/v2/urls.py b/passbook/api/v2/urls.py index a7b18b39c..3494893ce 100644 --- a/passbook/api/v2/urls.py +++ b/passbook/api/v2/urls.py @@ -25,6 +25,7 @@ from passbook.factors.password.api import PasswordFactorViewSet from passbook.lib.utils.reflection import get_apps from passbook.policies.expiry.api import PasswordExpiryPolicyViewSet from passbook.policies.group.api import GroupMembershipPolicyViewSet +from passbook.policies.expression.api import ExpressionPolicyViewSet from passbook.policies.hibp.api import HaveIBeenPwendPolicyViewSet from passbook.policies.matcher.api import FieldMatcherPolicyViewSet from passbook.policies.password.api import PasswordPolicyViewSet @@ -64,6 +65,7 @@ router.register("policies/password", PasswordPolicyViewSet) router.register("policies/reputation", ReputationPolicyViewSet) router.register("policies/ssologin", SSOLoginPolicyViewSet) router.register("policies/webhook", WebhookPolicyViewSet) +router.register("policies/expression", ExpressionPolicyViewSet) router.register("providers/all", ProviderViewSet) router.register("providers/applicationgateway", ApplicationGatewayProviderViewSet) router.register("providers/oauth", OAuth2ProviderViewSet)