From c91f1fdfc5dcd6eddb6c0909b0ca230185465aa5 Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Fri, 14 Sep 2018 14:23:53 -0400 Subject: [PATCH] Add JWT_COOKIES_FLAG feature toggle. This is intended to be a temporary flag for rollout of the JWT Cookies feature. ARCH-235 --- openedx/core/djangoapps/user_authn/waffle.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 openedx/core/djangoapps/user_authn/waffle.py diff --git a/openedx/core/djangoapps/user_authn/waffle.py b/openedx/core/djangoapps/user_authn/waffle.py new file mode 100644 index 0000000000..af1c74126b --- /dev/null +++ b/openedx/core/djangoapps/user_authn/waffle.py @@ -0,0 +1,13 @@ +""" +Feature toggles for user_authn. +""" +from openedx.core.djangoapps.waffle_utils import WaffleFlagNamespace, WaffleFlag + +# Namespace +_WAFFLE_NAMESPACE = u'user_authn' +_WAFFLE_FLAG_NAMESPACE = WaffleFlagNamespace(_WAFFLE_NAMESPACE) + +# Flags + +# Intended as a temporary toggle for roll-out of jwt cookies feature. +JWT_COOKIES_FLAG = WaffleFlag(_WAFFLE_FLAG_NAMESPACE, u'jwt_cookies')