marvi
Juillet 31, 2025, 11:29
1
We are using the Calendar plugin and have tried to enable event posting for all users:
However when non-staff users try to post to the calendar this notice comes up:
Has anyone else experienced this issue? Is it in fact a bug or are we setting something up incorrectly?
2 « J'aime »
sam
(Sam Saffron)
Août 1, 2025, 2:56
2
Oh this is indeed an oversight, can you try setting it to trust_level_0
, everyone is a special group and it looks like we are missing some special handling here.
trust_level_0
is a group that captures every single logged in user on your forum.
2 « J'aime »
Moin
Août 1, 2025, 5:22
7
There is also another topic about this issue
The discourse post event allowed on groups setting drop down gives the “everyone” group as one of its options. When selected, the expectation is that everyone will be allowed to create events, but this is not the case. To allow any user on the forum to create an event, the trust_level_0 group would need to be selected.
[image]
I think that similar issues with the “everyone” group being included in settings dropdown menues has come up in the past. Probably the setting is just pulling in all gr…
4 « J'aime »
This error is displayed in two cases:
The user tries to create a private event and invite groups that they cannot access. For example, here I try to invite admins:
To make it work, I would need to change the permission on the Admins group.
A private event is clicked, but no groups are specified.
Maybe we should improve the event builder form to inform the user that this is an incorrect configuration.
@marvi , is it possible that one of those scenarios happened in your case?
6 « J'aime »
marvi
Août 6, 2025, 2:00
10
Thank you all for your replies! And interesting about the ‘everyone’ setting. I have updated it to trust_level2, which is the lowest trust level at which people enter, but it’s still not working unfortunately. The events are public and all groups are allowed:
1 « J'aime »
I took another look and I think I know what is happening. The wizard to build an event is adding this allowedGroups=trust_level_0
to the event for public events.
In most cases, by default, everyone can see the trust_level_0
group, but in your case, it is configured that only Group owners and moderators can see it.
Something similar to my test instance:
Because allowedGroups
is mentioned, permission is checked and trust_level_2
members cannot “see” trust_level_0
.
I will work on fixing the wizard so that it is not adding “allowedGroups” for public events, as it is unnecessary.
In the meantime, you have 2 options to fix this issue:
Remove allowedGroups by hand so your event should look like this:
[event start="2025-08-12 09:49" end="2025-08-13 00:00" status="public" timezone="Pacific/Auckland"]
[/event]
Change the visibility of trust_level_0
group to logged on users
. You can do this on this page /g/trust_level_0/manage/interaction
I will let you know once the fix to the event wizard is fixed.
I made a fix for event builder to not add allowedGroups
for public events and it was deployed to your instance.
main
← public-calendar-event
opened 03:31AM - 12 Aug 25 UTC
Remove frontend code that automatically adds allowedGroups="trust_level_0" to pu… blic events.
https://meta.discourse.org/t/non-staff-members-cannot-create-calendar-events/376796
1 « J'aime »
This topic was automatically closed after 3 days. New replies are no longer allowed.