Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Open edX support doc for enabling waffle flags #454

Merged
merged 2 commits into from
May 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions source/site_ops/how-tos/add-waffle-flag-for-user.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
How to Enable a Waffle Flag for a User
#######################################

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, 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 <https://docs.openedx.org/projects/edx-platform/en/latest/references/featuretoggles.html.>`_
#. 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.