List Posts with ID and groups (from snippet)

Overview

(debug notes: wpcode id=”4791″; the post ids numbers shown are an aid for debugging the PHP code for the Groups API and will be removed at some point)

This is a work in progress listing posts and their associated group restrictions and the need for level of understanding and agreement on access to content across the user communicty. This web site uses Group permissions scheme to segregate content into public and various restricted private formats.

Users are assigned membership in groups which allows access to pages restricted to members of the group. As of April 2024, this is administered by Phil Edelstein with the intent of formalizing this with usage policies and shared administration.

The list below tracks to the visibility of posts based on the group membership of the current user viewing this post. An anonymous viewer that (not logged in) sees list of only only unrestricted posts. Users that have logged in will see all posts as per their group membership.

That is Public (vs. Private) posts that do not have a assigned Groups are accessible to any one navigating to the site.

Some care has been exercised in restricting posts where there has not been sufficient agreement on “publication” or the posts as pertinent to the internal CIE community.

Users must login with there user id or email and password to access the group restricted information.

CIE20 group members as of April 2024 are intended to be inclusive of the community including the DTSL @ Arter advisory board and academic council and a few others.

Privacy here is only as good as user practice (E.g. no sharing of credentials). Eventually, stronger authentication mechanism may be implemented.

Technical Notes

The WPCode plugin is used with custom PHP code leveraging the itthnx Groups plugin API’s. ChatGPT was used as an aid to coding the code snippets for Group display and will be used in the future for other group management functions.

Future Features

Other capabilities that will be developed on top of this framework include:

  • sort and filter posts and pages by Group
  • consider adding dates and tags
  • share information regarding who is member of which group. A proposed policy is that members of a group should have reference to who is in the group and will require an opt-in notice (possibly upon login).

Posts List