No internet connection
  1. Home
  2. Issues

How can I set categories / all questions to be publicly viewable?

By Florian Engel @moreonion
    2020-05-25 15:37:21.826Z

    I've set up an account and changed the "admin" section here to make sure it doesn't require login to view questions.

    Then I set up a test-question with this URL:
    https://impact-stack.talkyard.net/-9

    But when I try to access the page without an open user session I still get the prompt to log in. Am I missing something or is this a bug?

    • 3 replies
    1. Hi Florian, this looks odd, I'll investigate. Might be a bug. Thanks for reporting

      1. Seems there's a bug yes: Approve users also enables Login required, although not visible in the admin interface.

        As a temporary workaround, you can uncheck Approve users. Then wait for me to fix the bug, and thereafter you can enable Approve users again (or I can do that for you if you want?).

        ( Details: Maybe next week, I'll do this: A data migration that enables Login required for all Talkyard sites with Approve users enabled — so it becomes visible in the config settings & admin interface, how those sites currently behave.

        And I'll fix the bug, so that Approve users thereafter will not indirectly enable Login required. And, because of the above-mentioned data migration, this won't affect any site — however if they later choose to un-check Login required, then, that'll work as expected.

        Hmm, I've even added a source code comment about this long ago:

                Setting2(props, { type: 'checkbox', label: "Approve users", id: 'e_ApproveUsersCB',
                  className: 'e_A_Ss_S-ApproveUsersCB',
                  help: "New users need to be approved by staff before they can do anything more " +
           ——>        "than just reading.",  // docs BUG: currently won't get access at all [2KZMQ5]
        

        )

        1. MFlorian Engel @moreonion
            2020-05-26 09:20:36.528Z

            Thanks, I've changed the setting and now it works :)

        2. Progress
          with handling this problem
        3. @KajMagnus marked this topic as Planned 2020-05-26 06:00:27.704Z.