- Company deleting bug fixed
- Method
send_invite_notification
added to Company model
- Invite object added to
invite_confirmation_link
Company model method
- Fixed bug with
invite
endpoint
- Fixed bug with
change_role
endpoint first_name
,last_name
company user search addedrole
filter added to invites list endpoint
GARPIX_COMPANY_INVITE_NOT_USERS
setting added (seeReadme.md
)role
filter added tocompany/{id}/user/
endpoint
GARPIX_USER_COMPANY_MODEL
setting addedrole
andstay_in_company
fields added tochange_owner
endpoint
- Invite user bug fixed
- Decline previous invites for the invite to same person
is_admin
field removed fromcompany
views- GET
company
andcompany/{id}/
endpoints permissions changed - Added a check to see if the user is blocked when changing the owner
- Added check whether the user to whom the invite is sent is already company user
- Updated
django-filter
minimum version to 21.1
accept
anddecline
invite endpoints fixedchange
owner now works byUserCompany
instance id- Invite permissions fixed
- Added
is_blocked
filter tocompany/{id}/user
endpoint
- Set
blank=True
to fielduser
ofInviteToCompany
model - Pagination added to
invites
endpoint
CompanyOwnerOnly
andCompanyAdminOnly
permissions bug fixed
lookup_field
updated toid
in invite view.
- Fields
owner
fromCompany
,is_admin
fromUserCompany
andInvite
models deprecated change_role
endpoint addedstatus
filter added toinvites
list endpoint- All permissions are in views now
user
field added to invite functionality
- Fixed bug with
CompanyAdminOnly
permission classes GARPIX_COMPANY_ROLE_SERIALIZER
setting added (seeReadme.md
)
- Fixed bug with permissions
role
field added toInviteToCompany
- Searching added to GET
company/{pk}/user/
endpoint company/{pk}/invites/
endpoint added.GARPIX_COMPANY_USER_SERIALIZER
setting added (seeReadme.md
)
- Fixed bug with company creation endpoint
- Release to pypi.org
- Admin panel changes
destroy
action added toUerCompany
view.AbstractUserCompanyRole
model added (seeReadme.md
).check_user_companies_limit
class method added toCompany
model.
owner
field added toCompany
model.
- Invite and create user endpoint added (see
Readme.md
);
- Release on pypi.org.