Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

groupserver/gs.site.member.base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gs.site.member.base

Site-membership management for GroupServer

Author: Michael JasonSmith
Contact: Michael JasonSmith <mpj17@onlinegroups.net>
Date: 2015-16-16
Organization: GroupServer.org
Copyright: This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.net.

Introduction

In GroupServer, each group belongs to a site. Likewise, each group-member belongs to a related site-member user-group. This product provides systems for site member user-group management, a site member vocabulary, and the site memberships content provider.

Site Member User-Group Management

When people join a group an event is raised [1]. This product provides a subscriber for that event, which adds the new group-member to the site-member user-group if (and only if) he or she is not already a member of the site-member user-group. When there is a new site member this product in turn raises an event with the interface gs.site.member.base.event.IGSJoinSiteEvent.

Conversely, when someone leaves a group [2] this product catches the event and checks if the person is still a member of a group on this site. If the person is no longer a member of any group then he or she is removed from the site-member user-group and this product raises a gs.site.member.base.event.IGSLeaveSiteEvent.

Site Member Vocabulary

The named vocabulary groupserver.SiteMembers provides a list of the members of a site. Each member is represented by a token of (user-ID, user-ID, user-name).

Site Memberships Content Provider

The site memberships content provider groupserver.SiteMemberships creates a list of sites that a user is a member of. This is used by the Profile page to allow people to change between sites easily.

Resources

[1]The event raised when someone joins a group has the interface gs.group.member.join.event.IGSJoinGroupEvent.
[2]The event raised when someone leaves a group has the interface gs.group.member.leave.event.IGSLeaveGroupEvent.

About

Site-membership support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages