# Adicionar automaticamente categorias à barra lateral dos usuários ao serem adicionados a um grupo

**URL:** <https://meta.discourse.org/t/automatically-add-categories-to-users-sidebar-when-added-to-group/258940>\
**Category:** Feature\
**Tags:** sidebar, completed\
**Created:** [Março 21, 2023, 6:00pm UTC](https://meta.discourse.org/t/automatically-add-categories-to-users-sidebar-when-added-to-group/258940 "2023-03-21T18:00:18Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)\
**Post date:** [Agosto 25, 2023, 6:28pm UTC](https://meta.discourse.org/t/automatically-add-categories-to-users-sidebar-when-added-to-group/258940/13 "2023-08-25T18:28:25Z")

</div>

> [@mcwumbly](#):
>
> Parece que isso não funciona mais como descrevi anteriormente.

Isso deve ser corrigido agora, conforme

> <https://github.com/discourse/discourse/pull/22793>
>
> Context of this change:
> 
> There are two site settings which an admin can configur…ed to set the
> default categories and tags that are shown for a new user. \`default\_navigation\_menu\_categories\`
> is used to determine the default categories while
> \`default\_navigation\_menu\_tags\` is used to determine the default tags.
> 
> Prior to this change when seeding the defaults, we will filter out the
> categories/tags that the user do not have permission to see. However,
> this means that when the user does eventually gain permission down the
> line, the default categories and tags do not appear.
> 
> What does this change do?
> 
> With this commit, we have changed it such that all the categories and tags
> configured in the \`default\_navigation\_menu\_categories\` and
> \`default\_navigation\_menu\_tags\` site settings are seeded regardless of
> whether the user's visibility of the categories or tags. During
> serialization, we will then filter out the categories and tags which the
> user does not have visibility of.

---

_[View the full topic](https://meta.discourse.org/t/automatically-add-categories-to-users-sidebar-when-added-to-group/258940)._
