Space and Invitation Manager
Last modified by Vincent Massol on 2024/11/19 16:12
- XWiki
- Implementation
- Completed
Description
Released
These plugins are now released:
- https://svn.xwiki.org/svnroot/xwiki/platform/xwiki-plugins/trunk/spacemanager/
- https://svn.xwiki.org/svnroot/xwiki/platform/xwiki-plugins/trunk/invitationmanager/
They are used in XWiki Workspaces and Curriki
Current proposal:
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_.Member_
The following informations would be stored in this profile page:
- description
- allow notifications
- notifications params