Design: Space and Invitation Manager

Lead: Group effort
Status: Active
JIRA:

Current proposal:

https://svn.xwiki.org/svnroot/xwiki/xwiki-sandbox/plugins/spacemanager/src/main/java/org/xwiki/plugin/spacemanager/api/

Comments

Let's put some comments here:

  • We need an API allowing to access all the membership requests, including the completed ones.
  • We need an API to resend an invitation.
  • We need an API to accept invitation requests using a code (this will allow to authenticate an invite to an non registered user).
  • We need an API to accept invitation requests using a code but transfer it to an existing account.
  • Registration right might need to be modified so that a registration is allowed for an invited user (while forbidden otherwise) and to carry-over the invitation code to accept the invitation after the registration. Note: the email used in the registration might be different than the one used for the invite
  • Additional parameters should be added to invitations.

Implementation notes

Data Model

Space Information

We need to store basic info about a Space:

  • title
  • description
  • shortcut url
  • language
  • default membership policy (open, closed)
Invitation Requests

We need to store all invitation requests:

  • email
  • user id
  • code
  • space
  • invitaton text
  • additional params
  • status (created, sent, accepted, refused, cancelled)
Membership requests

We need to store membership requests

  • user id
  • space
  • request text
  • additional params
  • status (created, sent, accepted, refused, cancelled)
Group user profile

We need to store some information about a user in a group. We could store this info in the Groups Object for that specific user. However if we want to store more data this might not be efficient.

We could store this in a user page in the group space: Group_.Member_

The following informations would be stored in this profile page:

  • description
  • allow notifications
  • notifications params
Version 10.1 last modified by VincentMassol on 29/11/2007 at 11:47

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: ludovic on 2007/11/26 22:54
This wiki is licensed under a Creative Commons license
1.5.2.12758