martin
(Martin Brennan)
12 Noviembre, 2026 08:03
23
Sí, @lindsey también lo planteó internamente… necesitamos pensar en alguna solución que nos permita añadir enlaces mediante plugins, pero que también permita eliminarlos mediante la personalización.
Mientras tanto, este PR soluciona la necesidad de @putty :
main ← ux/no-boards-link-for-users-without
Followup 146e2e4c050f8a959a86389cc10a21beb3e29264
We should only show the board… s link in the community sidebar section if
the user, whether they logged in or anonymous, has access to view any
boards. Otherwise, the link just takes them to an empty list which is
pointless.
To achieve the anonymous part of this, I am adding a new plugin registry
register that allows plugins to inject additional preloaded JSON data
into the initial response. This was done as an alternative to extending
the site serializer which is cached. This will likely be useful in
future as more things start to use ACLs which allow anonymous users in
where we don't have access to the current user serializer on the front
end.
c.f. https://meta.discourse.org/t/discourse-boards/411414/19?u=martin
5 Me gusta