bennylope / django-organizations

:couple: Multi-user accounts for Django projects

Home Page:http://django-organizations.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to accept or decline an invitation

deviant32 opened this issue · comments

I need to have the ability for users to be invited, register, sign in and then accept or decline the invitation. Also existing users should have the ability to accept or decline. Is this as simple as extending the OrganizationUser and adding a boolean field to indicate whether or not the invitation has been accepted? Seems like this would be a feature that is already built in.

You could achieve this by extending the OrganizationUser model and the invitation backend.

Also, in version 2 which is in pre-release, the default invitation system now no longer immediately links users but uses an intermediate tracking model so that it's much easier to allow users to decline first.