How to restrict posting by group in paid plans but keep general visibility?

Hi everyone, how are you?

I’m setting up paid plans on my site with three types of profiles: Profile A, Profile B, and Profile C.
The idea is that each profile has its own specific area to post, but all users should be able to view posts from all groups.

Practical example:

  • Profile A can view posts from Group A, Group B, and Group C, but can only post in Group A.

  • Profile B can view posts from Group A, Group B, and Group C, but can only post in Group B.

  • Profile C can view posts from Group A, Group B, and Group C, but can only post in Group C.

In other words, visibility is general, but posting permissions are restricted to the user’s group.

My question is: is there a way to configure this within Wix Communities (or using permissions/restricted pages) so that each profile has its own posting area, while still allowing everyone to view all content?

Thanks in advance for any guidance! :folded_hands:

Not sure, since i never used Wix-Groups before, but i would say…

Your setup:

  • Group A, Group B, Group C → posting restrictions.
  • A user can view all posts, but can only post in their own group.

This means:

  • When a user visits a page, your code must:
    1. Detect the user’s group using queryMemberships() or listMemberships().
    2. Compare group ID with the current page’s group.
    3. Enable the Create Post button only if it matches.

—> Velo Wix Groups Backend Introduction | Velo
—> List Memberships | Velo