Mailing List Archive

Hiding content in a wiki page based on the logged in user
Hey all,

is there a way to make some part visible/ not visible on a wiki page based
on the logged in user? Like you can do in general with the rst #!comment ?

Aim here is to basically shorten a list of tickets so the user just get his
assigned or some specific ticket shown that are shown with TicketQuery Tags.

Cheers

MArkus

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/6477a0d5-2a02-4f14-8fa4-2a8b78eb0492n%40googlegroups.com.
Re: Hiding content in a wiki page based on the logged in user [ In reply to ]
On Friday, July 30, 2021 at 3:37:33 AM UTC-7 markus...@gmail.com wrote:

>
> Hey all,
>
> is there a way to make some part visible/ not visible on a wiki page based
> on the logged in user? Like you can do in general with the rst #!comment ?
>
> Aim here is to basically shorten a list of tickets so the user just get
> his assigned or some specific ticket shown that are shown with TicketQuery
> Tags.
>
> Cheers
>
> MArkus
>

You could implement permissions checking within a wiki processor and hide
content based on permissions provided you can accept that users with
WIKI_MODIFY can see all content when editing the page.

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/94f56ccd-7a70-443b-bcdd-1c4f7b649a3en%40googlegroups.com.