Invalid invite fields when creating invite as a moderator

Hi,

When creating a new invite via [..site..]/new-invite as a moderator, it allows for the invite to add the invitee to a group. Despite this not allowing the moderator to do so (returning a 403), the drop down box still is available. See below:

Nothing exploitable, so probably UX than bug(?)

Merry Christmas :santa:

Any errors in the console or in /logs?

Yes, as this is unintended behaviour. So submitting a request to somewhere without enough access throws an error.