Design: Space and Invitation Manager
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:- 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_- description
- allow notifications
- notifications params
Version 10.1 last modified by VincentMassol on 29/11/2007 at 11:47
Document data
Attachments:
No attachments for this document
Comments: 0