Calendar plugin needs group visibility

If you are installing Discourse in another language, the “trust levels” groups will have a different name. For example in French, instead of “trust_level_0” you will have “niveau_confiance_0”.

Now if you create an event with the Calendar plugin, and you want your event to be public, it will add this code: allowedGroups="trust_level_0". Except there is no “trust_level_0” group so all users get a “Invalid allowed groups” error.

The plugin is thus not usable at all by non-English users.

Is there a way to go around this bug quickly ? I just moved a community to Discourse and all users are being blocked from creating events because of this bug. Unfortunately I cannot rename “niveau_confiance_0” to “trust_level_0”, as it is an automatic group. Or maybe this can be done somewhere directly in the settings ?

2 Likes

This has been an issue for long time now and affects for example using of tag groups.

Nothing has changed so I guess the team has painted themselves on the corner at some point. And that’s why they can’t use english form internally, inside the code, and other languages outside on the UI.

But I’m just guessing, because no one has told what are the actual difficulties to fix this. Or I’ve missed the reasoning, that is possible too.

Sorry, I can’t reproduce this issue. Any of the original English names in automatic groups is valid here as allowedGroups.

Note, however, that the user creating the event must be able to see the groups defined as allowed groups. Did you happen to change these visibility levels for your automatic groups?

That’s not true at all. I’ve been using the plugin for years in my Brazilian Portuguese community.

Fix what, exactly?

1 Like

This:

With or without this issue is connected to that :man_shrugging:

This topic is just quite similar one.

1 Like

Thanks, the visibility was limited to the group owner, and changing it to all logged users solved the problem indeed ! Sorry for making bold assumptions, I didn’t explore the problem long enough.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.