You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**You can use Workspaces when you want to have an isolation of Lowcoder for Teams, Divisions, or Tenants of a single Lowcoder Instance.**
14
+
15
+
Lowcoder offers the configuration of the Workspaces Behaviour. Two modes are supported:
16
+
17
+
* Single Workspace Mode (_ENTERPRISE Mode_)
18
+
* Multi Workspace Mode (_SAAS Mode_)
19
+
13
20
{% hint style="info" %}
14
-
To activate this function, please add the [ENV Variable](https://github.com/lowcoder-org/lowcoder/tree/main/deploy/docker#configuration): **COMMON\_WORKSPACE\_MODE**=SAAS
21
+
To activate a multi-workspace configuration, please add the [ENV Variable](https://github.com/lowcoder-org/lowcoder/tree/main/deploy/docker#configuration): **LOWCODER\_WORKSPACE\_MODE**=SAAS
Copy file name to clipboardExpand all lines: docs/workspaces-and-teamwork/workspaces/multi-workspace-mode.md
+12-13Lines changed: 12 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,27 @@
1
-
# SAAS Mode
1
+
# Multi-Workspace Mode
2
2
3
3
4
4
5
-
In SAAS Mode, User can create multiple Workspaces. With some other settings, Admin can control the behavior of Users on SAAS mode.
5
+
In Multi-Workspace Mode, User can create multiple Workspaces. With some other settings, Admin can control the behavior of Users on Multi-Workspace mode.
6
6
7
-
### Setting Up SAAS mode
7
+
### Setting Up Multi-Workspace mode
8
8
9
-
1.Set LOWCODER\_WORKSPACE\_MODE to "SAAS" in docker-compose-multi.yml file.\
9
+
1. Set LOWCODER\_WORKSPACE\_MODE to "SAAS" in docker-compose-multi.yml file.
10
10
11
+
{% hint style="info" %}
12
+
Workspace Mode Env variable can also have the value "MULTIWORKSPACE" instead of "SAAS" 
2. In the above screenshot, you can see three configuration variables regarding Email and Workspace creation on Sign up.
21
+
1. In the above screenshot, you can see three configuration variables regarding Email and Workspace creation on Sign up.
19
22
1.**LOWCODER\_EMAIL\_SIGNUP\_ENABLED**\
20
23
\
21
-
This variable is the configuration for showing "Sign Up" button on Lowcoder. When it is set to "TRUE", "Sign Up" button will show up and new User can sign up in SAAS mode. A new Workspace will be created for this User, and he/she will be the Admin of this Workspace : \
24
+
This variable is the configuration for showing "Sign Up" button on Lowcoder. When it is set to "TRUE", "Sign Up" button will show up and new User can sign up in Multi-Workspace mode. A new Workspace will be created for this User, and he/she will be the Admin of this Workspace : \
22
25
\
23
26
LOWCODE\_EMAIL\_SIGNUP\_ENABLED = **true**\
24
27
@@ -123,9 +126,5 @@ Here, if Admin disables the "Email Auth" ( means that Members can't Sign up/Logi
123
126
\
124
127
If LOWCODER\_CREATE\_WORKSPACE\_ON\_SIGNUP is set to "True", then for every new Sign Up, a New Workspace will be created for the User. 
125
128
126
-
{% hint style="info" %}
127
-
Workspace Mode Env variable can also have the value "MULTIWORKSPACE" instead of "SAAS" 
In Enterprise Mode, there is only One Workspace that gets created automatically and Users can only join in that Workspace as a Member/Admin, but can't create their own Workspaces. With some other settings, Super Admin can control the behavior of Users on Enterprise mode. 
3
+
In Single Workspace Mode, there is only One Workspace that gets created automatically and Users can only join in that Workspace as a Member/Admin, but can't create their own Workspaces. With some other settings, Super Admin can control the behavior of Users on Single Workspace mode. 
4
4
5
-
### Setting Up Enterprise mode
5
+
### Setting Up Single Workspace mode
6
6
7
7
1. In Local Setup, we have a Root Admin User, that we can configure in docker-compose-multi.yml file. This user will be created by default and it will Super Admin of the default Workspace.\
8
8
@@ -12,48 +12,56 @@ In Enterprise Mode, there is only One Workspace that gets created automatically
3. In the above screenshot, you can see three configuration variables regarding Email and Workspace creation on Sign up. Let's go through these one by one. 
16
-
1.**LOWCODER\_EMAIL\_SIGNUP\_ENABLED**\
17
-
\
18
-
This variable is the configuration for showing "Sign Up" button on Lowcoder. When it is set to "true", "Sign Up" button will show up and new User can sign up in ENTERPRISE mode. But, as this is ENTERPRISE mode, the new User will only become a Member of the default Workspace. \
This variable is the configuration for creating a Workspace when new User signs up, but as there is only One Workspace that gets created by default in ENTERPRISE mode, so this variable value doesn't matter in ENTERPRISE mode. Setting it to TRUE or FALSE won't create a new Workspace on Sign Up.\
Workspace Mode Env variable can also have the value "SINGLEWORKSPACE" instead of "ENTERPRISE" .
18
+
{% endhint %}
19
+
20
+
In the above screenshot, you can see three configuration variables regarding Email and Workspace creation on Sign up. Let's go through these one by one:
21
+
22
+
23
+
24
+
1.**LOWCODER\_EMAIL\_SIGNUP\_ENABLED**\
25
+
\
26
+
This variable is the configuration for showing "Sign Up" button on Lowcoder. When it is set to "true", "Sign Up" button will show up and new User can sign up in Single Workspace mode. But, as this is Single Workspace mode, the new User will only become a Member of the default Workspace. \
This variable is the configuration for creating a Workspace when new User signs up, but as there is only One Workspace that gets created by default in Single Workspace mode, so this variable value doesn't matter in Single Workspace mode. Setting it to TRUE or FALSE won't create a new Workspace on Sign Up.\
|| If They are Admin of Single Workspace | Should be able to Login |
43
-
|| If They are Admin of multiple Workspaces | Not Applicable as ENTERPRISE mode allows only ONE Workspace |
44
-
|| If they are Admin on Workspace A, but Member on Workspace B | Not Applicable as ENTERPRISE mode allows only ONE Workspace |
45
-
| Can Workspace Members login Normally |||
46
-
|| If they are Member at a single Workspace | Should be able to Login |
47
-
|| If they are Member at multiple Workspaces | Not Applicable as ENTERPRISE mode allows only ONE Workspace |
48
-
|| If they are Member at Workspace A, but Admin on Workspace B | Not Applicable as ENTERPRISE mode allows only ONE Workspace |
49
-
| New User Sign up |||
50
-
|| Can New User sign up as an Admin | Not Applicable as in ENTERPRISE mode, new User can only sign up as a member of default Workspace |
51
-
|| Can New User sign up as a Member | Any User should be able to sign up as a Member of default Workspace |
52
-
|| Can Super Admin make a Member the Admin of Default Workspace | Super Admin should be able to update the Role of Member to Admin |
53
-
|| Can Admin create a New Workspace | Admin should NOT be able to create a New Workspace |
54
-
|| Can Super Admin create a New Workspace | Super Admin should NOT be able to create a New Workspace |
55
-
|| Can Super Admin or Admin update the Role of a Member to Developer | Super Admin or Admin should be able to update the Role of a Member to Developer |
56
-
|| Can Developer create a New Workspace | Developer should NOT be able to create a New Workspace |
|| If They are Admin of Single Workspace | Should be able to Login |
51
+
|| If They are Admin of multiple Workspaces | Not Applicable as Single Workspace mode allows only ONE Workspace |
52
+
|| If they are Admin on Workspace A, but Member on Workspace B | Not Applicable as Single Workspace mode allows only ONE Workspace |
53
+
| Can Workspace Members login Normally |||
54
+
|| If they are Member at a single Workspace | Should be able to Login |
55
+
|| If they are Member at multiple Workspaces | Not Applicable as Single Workspace mode allows only ONE Workspace |
56
+
|| If they are Member at Workspace A, but Admin on Workspace B | Not Applicable as Single Workspace mode allows only ONE Workspace |
57
+
| New User Sign up |||
58
+
|| Can New User sign up as an Admin | Not Applicable as in Single Workspace mode, new User can only sign up as a member of default Workspace |
59
+
|| Can New User sign up as a Member | Any User should be able to sign up as a Member of default Workspace |
60
+
|| Can Super Admin make a Member the Admin of Default Workspace | Super Admin should be able to update the Role of Member to Admin |
61
+
|| Can Admin create a New Workspace | Admin should NOT be able to create a New Workspace |
62
+
|| Can Super Admin create a New Workspace | Super Admin should NOT be able to create a New Workspace |
63
+
|| Can Super Admin or Admin update the Role of a Member to Developer | Super Admin or Admin should be able to update the Role of a Member to Developer |
64
+
|| Can Developer create a New Workspace | Developer should NOT be able to create a New Workspace |
@@ -69,7 +77,7 @@ In Enterprise Mode, there is only One Workspace that gets created automatically
69
77
### Administrative Access
70
78
71
79
**Scenario #1 : Admin -> When LOWCODER\_EMAIL\_SIGNUP\_ENABLED = True or False**\
72
-
Any User can't sign up as Admin in ENTERPRISE Mode, regardless of any settings for Env Variables. Admin can only Login.
80
+
Any User can't sign up as Admin in Single Workspace Mode, regardless of any settings for Env Variables. Admin can only Login.
73
81
74
82
Here, if Admin disables the "Email Auth" ( means that Members can't Sign up/Login using Standard Email field ), Lowcoder allows Admin to still be able to login using /admin/auth/login. But, for other Users, Email field won't be available at /user/auth/login. They would only be able to see other Auth Providers options set by Admin.\
75
83
\
@@ -91,8 +99,4 @@ This means that New User can sign up as Member. When Email Auth is Disabled, th
91
99
**Scenario #3 : Member -> When LOWCODER\_EMAIL\_SIGNUP\_ENABLED = False**\
92
100
With this configuration, only existing Members would be able to Login to Lowcoder. No new Member can Sign up.
93
101
94
-
{% hint style="info" %}
95
-
Workspace Mode Env variable can also have the value "SINGLEWORKSPACE" instead of "ENTERPRISE" .
0 commit comments