From 2ada8f408aab357443b0e38e055fd216ea6af2cf Mon Sep 17 00:00:00 2001 From: Jim Johnson <142067118+jimjohnson8@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:28:48 -0500 Subject: [PATCH 1/2] Add Open edX support doc for enabling waffle flags https://2u-internal.atlassian.net/browse/TNL-11198 --- .../site_ops/how-tos/add-waffle-flag-for-user.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 source/site_ops/how-tos/add-waffle-flag-for-user.rst diff --git a/source/site_ops/how-tos/add-waffle-flag-for-user.rst b/source/site_ops/how-tos/add-waffle-flag-for-user.rst new file mode 100644 index 000000000..7882ed349 --- /dev/null +++ b/source/site_ops/how-tos/add-waffle-flag-for-user.rst @@ -0,0 +1,13 @@ +How to Enable a Waffle Flag for a User +####################################### + +Follow these steps to enable a waffle flag for internal testing or limited releases: + +#. Get the LMS User ID from the Support Tools page. If you do not use the Support Tools Micro-Frontend, find the LMS User ID through other means, such as a database query. +#. Login to the appropriate Django Admin Portal. +#. Navigate to ``DJANGO-WAFFLE > Flags``. +#. Find and select the appropriate flag using the `Open edX Feature Toggles Guide `_ +#. Set the ``Everyone`` dropdown to ``Unknown``. This will cause the criterion specified on the page to be evaluated. Setting ``Everyone`` to ``True`` or ``False`` applies the flag globally. +#. Add the LMS User ID from Step 1 to the ``Users`` textbox at the bottom of the page. To add multiple users, values should be comma-separated with no spaces. +#. Click the appropriate ``Save`` button. +#. Refresh the page and see that the entered LMS User ID(s) now correspond to their LMS Usernames. From 8259af4a97fa3c9c86b87ddb362b31eb3c385cad Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Wed, 1 May 2024 17:55:53 -0400 Subject: [PATCH 2/2] Apply suggestions from code review --- source/site_ops/how-tos/add-waffle-flag-for-user.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/site_ops/how-tos/add-waffle-flag-for-user.rst b/source/site_ops/how-tos/add-waffle-flag-for-user.rst index 7882ed349..8d56c5a5b 100644 --- a/source/site_ops/how-tos/add-waffle-flag-for-user.rst +++ b/source/site_ops/how-tos/add-waffle-flag-for-user.rst @@ -1,9 +1,9 @@ How to Enable a Waffle Flag for a User ####################################### -Follow these steps to enable a waffle flag for internal testing or limited releases: +Follow these steps to enable a waffle flag for a single user. This may be useful in certain situations, such as internal testing or limited releases: -#. Get the LMS User ID from the Support Tools page. If you do not use the Support Tools Micro-Frontend, find the LMS User ID through other means, such as a database query. +#. Get the LMS User ID, via a database query or other methods if you have them. #. Login to the appropriate Django Admin Portal. #. Navigate to ``DJANGO-WAFFLE > Flags``. #. Find and select the appropriate flag using the `Open edX Feature Toggles Guide `_