Jump to content
Sign in to follow this  
spoetnik

Private groups with content

Recommended Posts

How would you handle this:

A site with private groups. Only members of these groups can see the content posted in these private groups.

 

Share this post


Link to post
Share on other sites
  1. Roles
  2. Permissions
  3. Users
  4. Login
  5. Each group with a parent page. Content posted are children of these parent pages
  6. Group parent pages with template-level access that cascade down to the child pages (posted content)
  7. Frontend editing?

These are the basics. Depending on the complexity (e.g. are there sub-groups; can a member belong to more than one group, who is posting the group content, etc), your mileage may vary...

Just my 2p.

  • Like 1

Share this post


Link to post
Share on other sites

I was thinking about a page reference from the user's profile to a group-page, and restrict access by restricting all content by filtering on this reference in all selectors...

 

Would that work?

Share this post


Link to post
Share on other sites
6 hours ago, spoetnik said:

I was thinking about a page reference from the user's profile to a group-page, and restrict access by restricting all content by filtering on this reference in all selectors...

Would that work?

It could work. However, using this approach, how do you prevent direct access to the content? I.e., if a non-group member guessed the URL to content that is not part of his/her group, they will be able to see that content, no? 

Share this post


Link to post
Share on other sites

I am playing with the setup in a sandbox.

Do I understand it right?

For each private group, I create Role, and a Template.

Then on the Temaplte of the Parentpage I set Role permissions, so only people in that Role (Group) can view and create Children?

 

So Group -> Role -> Template Access?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By MrKing
      Hi,
      I am hoping to be able to use processwire for a charity with over 900 members and about 90 interest groups.
      One of the deciding factors (and there are many) is whether I would be able, as the admin, to add all my existing members, all the interest groups and all the group membership data programatically. As you might imagine, I would not want to do this by hand.
      I have written data upload scripts for a 'home brewed' experimental site but would much prefer to use processwire as the foundation of our site, if possible.
      Many thanks.
×
×
  • Create New...