When you update Nodebb to latest code,guest and normal user can't see the website.
just like this:
you can see the head,but there nothing there.
when you update the following code,causing the question you see above.
@song19891121 but admin is OK.
Check the permissions for guests can find categories etc.
I don't know what's this mean ? could you explain?
@song19891121 ACP > Manage > Categories, click permissions within options, and make sure that Guest is able to see the category.
@a_5mith but why the normal user can't see ?
@song19891121 Check registered users too. These screenshots should help.
@song19891121 The permissions were refactored so that by default, if a category has no permissions checked (in the Access Control modal), nobody can access it.
This is a departure from the previous behaviour, which was:
- Registered users can access and post
- Guests can access but cannot post
Which was confusing for some.
Long story shot
The upgrade script should transparently convert your existing permissions properly, but clearly there are some bugs. When you upgrade, go through all of your categories and ensure the permissions are set correctly.