The discussion revolves around enabling unauthorized or non-logged-in users to view the complete site structure in Discourse. hhlp wants to allow these users to see the categories, which are currently restricted by security policy and only visible to logged-in users with specific group permissions.
Mittineague raises concerns about how to determine non-logged-in users’ permissions and proposes using a long-lasting cookie as a potential solution, but notes its limitations, such as users’ browsers automatically removing cookies.
If a visitor is not logged in, how would you propose code be able to determine what permissions they have so the restricted categories they have permissions for will be displayed?
The only thing I can think of that might work is to have a long lasting cookie, but even that approach would not be perfect. (i.e. users might have their browser set to remove cookies automatically etc.)