I have set 4 categories as sidebar default, they are all restricted. When i invite a user to join discourse with group permission to some of that categories sidebar still empty for that user.
Can someone help out? Thanks!
סיכום מבוסס בינה מלאכותית
The discussion revolves around an issue with default sidebar categories in Discourse, where restricted categories do not appear in the sidebar for users, even if they belong to the required group. Rafael_Melo_Silva reports that setting restricted categories as default sidebar categories does not work for new or existing users. mcwumbly explains that the issue might be related to historical application of changes and demonstrates that the functionality works correctly in a test environment when users are added to the appropriate group. Jagster notes that the sidebar is primarily designed for users, not admins, and defaults can be set in the admin settings. The issue seems to be specific to the user’s setup, as the functionality works as expected in other cases.
Sidebar is/going to be heavily for users, not for admins. But as admin you can set defaults in settings of Discourse.
That’s what he did…
I did but it doesn’t work, new user get none categories on Sidebar
Are these new users or existing users?
If they are existing users, when you change the default sidebar categories, you’ll have to apply the changes in the settings historically:
That only applies the change historically, so if you have already added default categories that you want to apply historically now, you’ll have to do the following:
- Remove the categories and click “No, only apply change going forward”
- Add them back, and click “Yes”
New users or existing, if the category is restrict to a certain group it doesnt show up, even if the user belongs to that group.
I just did the following on a test site earlier before responding to this other topic:
- Added a category
#foothat is only visible to the group@foo - Added the
#foocategory todefault sidebar categories - Clicked “Yes” to apply historically
- Logged in as “Frank”, a user who is not part of the
@foogroup. - Verified they do not see
#fooin their sidebar - Added “Frank” to the
@foogroup - Refreshed the page in Frank’s window
- Verified they do see
#fooin their sidebar - Removed “Frank” from the
@foogroup - Refreshed the page in Frank’s window
- Verified they do not see
#fooin their sidebar
Any idea what might be different on your end?
