Skip to main content

Multi-tenant support for Kiwi TCMS

Project description

https://travis-ci.org/kiwitcms/tenants.svg?branch=master https://coveralls.io/repos/github/kiwitcms/tenants/badge.svg?branch=master Python updates Translate Become a sponsor

Introduction

This package provides multi-tenant support for Kiwi TCMS and is a wrapper around django-tenants. You can use it to host different organizations on the same application server or host multiple product instances used by different teams. Each tenant is able to see only the information created by themselves.

To install:

pip install kiwitcms-tenants

Then see test_project/settings.py for more information about configuration options.

IMPORTANT: multi-tenancy is backed by PostgreSQL schemas!

WARNING: current tenant is decided based on the FQDN by which you are accessing Kiwi TCMS. This means your web server and DNS must support wildcard comains, e.g. *.tenants.kiwitcms.org. How to configure them is not currently documented here!

Changelog

v0.1.2 (04 April 2019) - initial release

  • Support creating of tenants via web interface

  • Support for deleting tenants only by super-user

  • Support for authorizing other users to access the current tenant

  • Middleware which returns 403 Forbidden when non-authorized user tries to access a tenant

  • Support for overriding the tcms_tenants/new.html template to provide SLA, terms and conditions, etc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kiwitcms-tenants-0.1.2.tar.gz (22.6 kB view hashes)

Uploaded Source

Built Distribution

kiwitcms_tenants-0.1.2-py3-none-any.whl (19.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page