Mostra le indicazioni per l'adesione al gruppo sugli argomenti a cui non hai accesso

Continuing the discussion from Guide to Groups:

  1. If you visit a topic in a category you have no permissions for

  2. AND you are a logged on user

  3. AND can gain permission by requesting membership, we should display a helpful message saying:

Hey, you can not see this topic, but if you join the AWESOME group you will be able to see it, [request membership]

just pick the first group if there is a multi match

This does leak out a bit of information about “who can see” a topic which we do not leak out now. However to leak this data you got to create a group that accepts membership requests, so you kind of opted for it.

I really like this feature request, going to slot it for 2.3

16 Mi Piace

Yes I agree this is a very sensible request and we should make it so.

7 Mi Piace

I have a community with way too many categories. It would be nice to be able to hide most of them but still make it easy for anyone to see them.

1 Mi Piace

@maja can you add that to your list?

3 Mi Piace

Where are we at on this @maja?

Sorry for the delay. It’s almost done, will open a PR today.

10 Mi Piace

Ecco la PR

@j.jaffeux, puoi prenderne carico?

5 Mi Piace

Ok, l’ho appena unito:

complimenti @maja :tada:

8 Mi Piace

Sembra ottimo. Sarebbe possibile, per esempio, avere un esempio del suo utilizzo su try? Funziona automaticamente se esiste una categoria esclusiva per un determinato gruppo e il gruppo consente le richieste di accesso?

Modifica: Immagino che rileggere l’OP sarebbe stato una mossa intelligente. :slightly_frowning_face:

Funziona come indicato nell’OP:

Ciò significa che la categoria dell’argomento visitato deve avere un gruppo con l’iscrizione richiesta impostata nei permessi di sicurezza.

:bulb: Devi abilitare l’impostazione del sito detailed_404 affinché ciò funzioni.

C’è uno screenshot nel commit:

11 Mi Piace

Questo argomento è stato automaticamente chiuso dopo 2 giorni. Non sono più consentite nuove risposte.