What does it do for the badges that aren’t picky? I would just copy that behavior.
Yes, that seems the most sensible place I’d look for it.
they refer to the post in the topic they were granted for, and you would not want that to be public if the topic is private.
Why not simply make the topic visible if the person viewing has the access rights, and if not, have some boilerplate « granted for a topic posted in a private/restricted category » or something? Or just don’t display if one doesn’t want to rub people’s noses (
) in the fact that there is content they don’t have access to?
One might even go a tiny step further while we’re at it and have either « global » (all categories taken into account) or restricted (no non public categories) or « all categories except… » (thinking one might want to exclude an admin category for example)
Yes you can do that, maybe you can also simply only show the link if the user has permission to see the topic. My point was that just offering a setting allowing badges to be granted on private categories is not enough.
You need to do a permission check for each link and show only the ones the user is allowed to see or you always hide them for everyone.
Yeah, we are doing a lot of “category-centric” thinking and work in the coming year.
I could see a setting for a given category being part of this – and showing that as a list on site settings and/or an (advanced) setting on the category page itself.
