On the Share Portfolio page, the checkbox "Everyone on the internet can see it" has a bug such that checking it and clicking "Save Changes" does indeed make the portfolio viewable. Yet, navigating away from that page and coming back to it, the checkbox is now no longer checked. The portfolio is still publicly viewable but the checkbox is not checked anymore. Checking it again and then clicking "Save Changes" does not change the status of the portfolio: it still remains publicly viewable.
The only way to now hide the portfolio is to go to the Share Portfolio page, check the box "Everyone on the internet can see it", click "Save Changes" and then immediately uncheck the box and save changes again.
Also, two stacktraces were thrown in connection with this bug and are attached.
- Stacktrace1 occurred once when making the portfolio publicly viewable and then saving changes but has since not been reproducible.
- Stacktrace2 is more reproducible, but not 100% of the time. It occurs when making the portfolio publicly viewable and saving changes and then immediately navigating to the "Add/Edit Content" page. It seems to occur when making the portfolio publicly viewable for the first time.