Discourse Reach and Rights

AI-generated summary

thoka introduces the Discourse Reach and Rights plugin, designed to display category visibility, group permissions, and notification statistics via an infobox or BBcode [reach-and-rights]. The tool aims to foster transparency by showing which groups can read or post in specific categories, addressing feature requests regarding private category access 2.

During the discussion, Moin raised concerns about how the plugin handles hidden groups, specifically whether users would see names of groups they are not permitted to access. thoka clarified that while their goal is full transparency, they would show all groups but could implement obfuscation for hidden ones. In response to Moin’s query, thoka confirmed that hidden group names are now replaced with *(hidden*) for unauthorized users.

Separately, Jagster reported a critical UI bug where the plugin causes the category navigation bar to disappear and removes category labels from topic lists, leaving only tags visible. thoka requested a screenshot to investigate, as this behavior was not observed on their instance. Jagster provided images confirming the issue, noting it affects standard categories and suggesting it might be a conflict with other components. The plugin’s repository is available at https://github.com/thoka/discourse-reach-and-rights.

:information_source: Summary Shows stats and details about category visibility, rights and notifications
:hammer_and_wrench: Repository Link https://github.com/thoka/discourse-reach-and-rights
:open_book: Install Guide How to install plugins in Discourse

Motivation

In a formal community you would like to know which groups have access to your categories and how many people will be notified about new posts.

Features

This plugin enables an infobox about configured permissions (who is allowed to create/respond/read) for categories.

Detailed Information

Everyone is able to see a configuration overview, with links to the appropriate groups (with signs, if you can apply for membership). Stats for notifications are also shown.

This information can also be included in post via bbcode [reach-and-rights].

Short Information

A summary button is shown near the button to create a new post
grafik

See the provided readme for more explanation.

Relevant Feature Requests

This plugin might be a solution for

8 Likes

How do you handle groups that aren’t visible to the user?

For example, you have secret_group that is only visible to admins and public_group that is visible for everyone, and users are allowed to join.
Now there is a category that allows posting for both groups. Will users of public_group see the name of the group they shouldn’t know about in this case? Will users in secret_group see both groups, even though the group is invisible for them?

2 Likes

We do not use secret groups.

Since trust by trancparency is the goal in our situation, I would show all groups able to read a category in the infobox.

For special cases, I could imagine the need to have group names obfuscated, but I would still show, that there is a group defined, who can access the category.

Propose a (configurable) solution, if you like to have something implemented.

This hides all categories, even from topics shown in /latest. Should it do that?

Names of hidden groups are replaced by (hidden) / (versteckt) now for users without permission to see the group.

I do not understand. Could you provide a screenshot?

1 Like

Sorry strange language, but I’m sure you understand:

This is normal situation:

  • category navbar shows categories
  • topics show category before tags

With your plugin happens this:

  • category navbar disappear
  • topics are showing only tags

Cat navbar is just a secondary issue from something that affect categories. Its status doesn’t play any role.

The most of categories are typical everyone and some are for TL0.

There is chance this is just another conflict between other component/s or plugin/s. I can check that at some time, if you don’t see anything strange on your instance.

1 Like