mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
28 lines
887 B
Markdown
28 lines
887 B
Markdown
Multi-tenancy feature is designed for hosting providers that what to host several customers in a single Seafile instance. You can create multi-organizations. Organizations is separated from each other. Users can't share libraries between organizations.
|
|
|
|
## Seafile Config ##
|
|
|
|
#### seafile.conf
|
|
|
|
```
|
|
[general]
|
|
multi_tenancy = true
|
|
```
|
|
|
|
#### seahub_settings.py
|
|
|
|
```
|
|
CLOUD_MODE = True
|
|
MULTI_TENANCY = True
|
|
|
|
ORG_MEMBER_QUOTA_ENABLED = True
|
|
```
|
|
|
|
## Usage
|
|
|
|
An organization can be created via system admin in “admin panel->organization->Add organization”.
|
|
|
|
Every organization has an URL prefix. This field is *for future usage*. When a user create an organization, an URL like org1 will be automatically assigned.
|
|
|
|
After creating an organization, the first user will become the admin of that organization. The organization admin can add other users. Note, the system admin can't add users.
|