קטגוריות סרגל צד ברירת מחדל

סיכום מבוסס בינה מלאכותית

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.

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!

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:

  1. Remove the categories and click “No, only apply change going forward”
  2. 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:

  1. Added a category #foo that is only visible to the group @foo
  2. Added the #foo category to default sidebar categories
  3. Clicked “Yes” to apply historically
  4. Logged in as “Frank”, a user who is not part of the @foo group.
  5. Verified they do not see #foo in their sidebar
  6. Added “Frank” to the @foo group
  7. Refreshed the page in Frank’s window
  8. Verified they do see #foo in their sidebar
  9. Removed “Frank” from the @foo group
  10. Refreshed the page in Frank’s window
  11. Verified they do not see #foo in their sidebar

Any idea what might be different on your end?