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
{{ message }}
Repository navigation
Commit 6ffd995
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/enterprise/access-control.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,6 @@ On billing-disabled deployments, enable permission groups through the enterprise
147
147
148
148
```bash
149
149
ACCESS_CONTROL_ENABLED=true
150
-
NEXT_PUBLIC_ACCESS_CONTROL_ENABLED=true
151
150
```
152
151
153
152
The enterprise master configuration can enable the feature; an explicit feature value takes precedence. Billing-enabled self-hosted deployments still require Enterprise. See [self-hosted enterprise setup](/platform/enterprise/self-hosted).
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/enterprise/audit-logs.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,6 @@ On billing-disabled deployments, enable audit logs through enterprise configurat
118
118
119
119
```bash
120
120
AUDIT_LOGS_ENABLED=true
121
-
NEXT_PUBLIC_AUDIT_LOGS_ENABLED=true
122
121
```
123
122
124
123
Explicit feature values take precedence over the enterprise master setting. Billing-enabled self-hosted deployments retain the Enterprise gate. See [self-hosted enterprise setup](/platform/enterprise/self-hosted).
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/enterprise/custom-blocks.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ import { Callout } from '@/components/ui/callout'
7
7
8
8
Publish a workflow as a custom block so teammates can provide its inputs and use selected outputs without access to its source workflow. The block always runs the source's latest deployment. Use it for a shared knowledge lookup, an authenticated internal API, an enrichment step, or a prompt and guardrail maintained in one place.
9
9
10
-
Publishing and managing a block requires admin access to its source workspace. Billing-enabled deployments require an Enterprise organization. On billing-disabled deployments, enable the custom-block feature through enterprise configuration or `CUSTOM_BLOCKS_ENABLED=true` and `NEXT_PUBLIC_CUSTOM_BLOCKS_ENABLED=true`. An organization is still required; see [self-hosted enterprise setup](/platform/enterprise/self-hosted).
10
+
Publishing and managing a block requires admin access to its source workspace. Billing-enabled deployments require an Enterprise organization. On billing-disabled deployments, enable the custom-block feature through enterprise configuration or `CUSTOM_BLOCKS_ENABLED=true`. An organization is still required; see [self-hosted enterprise setup](/platform/enterprise/self-hosted).
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/enterprise/data-drains.mdx
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,10 +248,9 @@ Enable the feature through enterprise configuration or explicitly set:
248
248
249
249
```bash
250
250
DATA_DRAINS_ENABLED=true
251
-
NEXT_PUBLIC_DATA_DRAINS_ENABLED=true
252
251
```
253
252
254
-
An explicit feature value takes precedence over `ENTERPRISE_ENABLED`. When disabled, the page is hidden, mutating drain requests return `404`, and the dispatcher does no work. Billing-enabled deployments retain the Enterprise gate. Keep server and public feature configuration aligned; `bunx sim-setup doctor` checks the pair. See [self-hosted enterprise setup](/platform/enterprise/self-hosted).
253
+
An explicit feature value takes precedence over `ENTERPRISE_ENABLED`. When disabled, the page is hidden, mutating drain requests return `404`, and the dispatcher does no work. Billing-enabled deployments retain the Enterprise gate. See [self-hosted enterprise setup](/platform/enterprise/self-hosted).
255
254
256
255
The dispatcher requires scheduled calls to `GET /api/cron/run-data-drains`. Set the same `CRON_SECRET` on the app and its caller; the endpoint returns `401` when it is unset. Generate a secret if needed, then install it in both configurations:
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/enterprise/data-retention.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,6 @@ On billing-disabled deployments, enable retention through enterprise configurati
128
128
129
129
```bash
130
130
DATA_RETENTION_ENABLED=true
131
-
NEXT_PUBLIC_DATA_RETENTION_ENABLED=true
132
131
```
133
132
134
133
An explicit feature value takes precedence over the enterprise master configuration. No plan-based default window is introduced: configure the windows you intend to apply.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/enterprise/forks.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,7 +188,6 @@ On billing-disabled deployments, enable forking through enterprise configuration
188
188
189
189
```bash
190
190
FORKING_ENABLED=true
191
-
NEXT_PUBLIC_FORKING_ENABLED=true
192
191
```
193
192
194
193
Explicit feature values take precedence over the master configuration. Billing-enabled self-hosted deployments still require Enterprise. See [self-hosted enterprise setup](/platform/enterprise/self-hosted).
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/enterprise/index.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,6 @@ On a self-hosted deployment with billing disabled, enable enterprise features th
26
26
27
27
```bash
28
28
ENTERPRISE_ENABLED=true
29
-
NEXT_PUBLIC_ENTERPRISE_ENABLED=true
30
29
```
31
30
32
31
Individual feature flags override the master switch. Most enterprise settings also need an organization that owns the workspace. Choose one instance-wide organization or provision separate organizations through the Admin API.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/enterprise/scim/index.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Configure [SSO](/platform/enterprise/sso) separately for authentication. SCIM ca
16
16
17
17
- On Sim Cloud, use an Enterprise organization and an organization owner or admin account.
18
18
-[Verify every email domain](/platform/enterprise/verified-domains) you will provision. Sim refuses account creation or an email change to an unverified domain.
19
-
- On self-hosted deployments, enable SSO to reach **Single sign-on → Provisioning**, and enable SCIM. The enterprise master pair enables both; individual setup uses `SSO_ENABLED`, `NEXT_PUBLIC_SSO_ENABLED`, `SCIM_ENABLED`, and `NEXT_PUBLIC_SCIM_ENABLED`. See [Self-hosted SSO setup](/platform/enterprise/sso#self-hosted-setup) and [Deployment and upgrades](#deployment-and-upgrades).
19
+
- On self-hosted deployments, enable SSO to reach **Single sign-on → Provisioning**, and enable SCIM. `ENTERPRISE_ENABLED`enables both; individual setup uses `SSO_ENABLED`and `SCIM_ENABLED`. See [Self-hosted SSO setup](/platform/enterprise/sso#self-hosted-setup) and [Deployment and upgrades](#deployment-and-upgrades).
20
20
21
21
## Plan membership and access
22
22
@@ -205,7 +205,7 @@ While the connection is disabled, **Lock managed membership** and **Disable just
205
205
Apply database migrations before the new application code. The SCIM tables and suspension fields are additive, allowing older code to run against the expanded schema during rollout.
206
206
207
207
<Callouttype="warn">
208
-
Keep `SCIM_ENABLED=false`and `NEXT_PUBLIC_SCIM_ENABLED=false`until all older application instances and workers are drained. Older code does not enforce SCIM suspension or explicit permission-group membership. These explicit flags also override the hosted default.
208
+
Keep `SCIM_ENABLED=false` until all older application instances and workers are drained. Older code does not enforce SCIM suspension or explicit permission-group membership. This explicit flag also overrides the hosted default.
209
209
</Callout>
210
210
211
211
After SCIM has suspended accounts or established managed access, rolling back to code that predates SCIM is unsafe: it cannot enforce those restrictions. Disabling synchronization does not undo suspension or restore earlier membership semantics.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/enterprise/self-hosted.mdx
+23-24Lines changed: 23 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,22 +13,19 @@ This guide covers the standard billing-disabled configuration. If billing is ena
13
13
14
14
## Enable the feature set
15
15
16
-
Set both the server flag and its browser twin, then restart the application:
16
+
Set the server flag, then restart the application:
17
17
18
18
```bash
19
19
ENTERPRISE_ENABLED=true
20
-
NEXT_PUBLIC_ENTERPRISE_ENABLED=true
21
20
```
22
21
23
-
The server flag controls access and the server-resolved workspace settings. The browser twin also enables controls that read browser configuration directly, including SSO on the login page and the Function block's **Sandbox** selector. On a Compose install or source checkout, `bunx sim-setup doctor` reports mismatched twins. See [Verify your install](/platform/self-hosting/verify).
22
+
The server flag controls access and everything the browser shows, including SSO on the login page and the Function block's **Sandbox** selector: the browser reads the server's resolved settings, so there is no `NEXT_PUBLIC_` variable to set. Browser variables left over from older releases do nothing; on a Compose install or source checkout, `bunx sim-setup doctor` reports them. See [Verify your install](/platform/self-hosting/verify).
24
23
25
24
Individual flags override the master switch. For example, to enable the suite with data drains disabled:
26
25
27
26
```bash
28
27
ENTERPRISE_ENABLED=true
29
-
NEXT_PUBLIC_ENTERPRISE_ENABLED=true
30
28
DATA_DRAINS_ENABLED=false
31
-
NEXT_PUBLIC_DATA_DRAINS_ENABLED=false
32
29
```
33
30
34
31
You can also leave the master switch unset and enable individual features. The [feature flag reference](#feature-flag-reference) lists them all.
@@ -238,29 +235,31 @@ OAuth token cleanup removes expired and revoked credentials independently of sig
238
235
239
236
Explicit individual flags override the master switch, including when set to `false`. With billing disabled and no enterprise flags set, session policies and the Sim Mailer inbox remain enabled by default. Other features require opt-in.
240
237
241
-
| Feature | Server variable | Browser variable |
242
-
| --- | --- | --- |
243
-
| Enterprise suite |`ENTERPRISE_ENABLED`|`NEXT_PUBLIC_ENTERPRISE_ENABLED`|
Each feature is one server variable. Permission groups also turn on organizations, and organizations are always on when billing is enabled.
239
+
240
+
| Feature | Variable |
241
+
| --- | --- |
242
+
| Enterprise suite |`ENTERPRISE_ENABLED`|
243
+
| Organizations |`ORGANIZATIONS_ENABLED`|
244
+
| Permission groups |`ACCESS_CONTROL_ENABLED`|
245
+
| SAML and OIDC sign-in |`SSO_ENABLED`|
246
+
| Directory provisioning |`SCIM_ENABLED`|
247
+
| Audit logs |`AUDIT_LOGS_ENABLED`|
248
+
| Insights |`USAGE_MONITORING_ENABLED`|
249
+
| Custom blocks |`CUSTOM_BLOCKS_ENABLED`|
250
+
| Session policies — enabled by default |`SESSION_POLICIES_ENABLED`|
251
+
| Retention deletion |`DATA_RETENTION_ENABLED`|
252
+
| Data drains |`DATA_DRAINS_ENABLED`|
253
+
| Credential groups |`CREDENTIAL_GROUPS`|
254
+
| Workspace forks |`FORKING_ENABLED`|
255
+
| Sim Mailer inbox — enabled by default |`INBOX_ENABLED`|
256
+
| Sandboxes |`SANDBOXES_ENABLED`|
258
257
259
258
### Sandbox readiness
260
259
261
260
A Sandbox entitlement also requires a remote execution provider with credentials and an immutable Function base image. Until the server verifies readiness, the Function block offers no **Shell** language, and **Settings → Sandboxes** shows an upgrade notice instead of a sandbox list.
262
261
263
-
`NEXT_PUBLIC_SANDBOXES_ENABLED` exposes the Function block's **Sandbox** selector; it asserts readiness rather than checking it. Set it only after configuring the selected provider and Function base. `bunx sim-setup doctor` compares it with provider readiness.
262
+
The Function block's **Sandbox** selector appears once the server confirms both the entitlement and a ready provider. `NEXT_PUBLIC_SANDBOXES_ENABLED` is only a readiness marker that `bunx sim-setup doctor` compares with the provider; the app does not read it.
264
263
265
264
JavaScript without `import`, `require`, a selected sandbox, or a sandbox file-path reference runs in local Node child workers in the app container when Sandbox flags are off. Python, Shell, JavaScript with external imports, and selected custom Sandboxes require the remote Function base and fail with a configuration error until it is ready. See [Sandboxes](/platform/self-hosting/sandboxes).
266
265
@@ -269,7 +268,7 @@ JavaScript without `import`, `require`, a selected sandbox, or a sandbox file-pa
269
268
| Symptom | Check |
270
269
| --- | --- |
271
270
| A settings section is missing | Check its server flag and restart the app after changing environment variables. These values load at boot; a rebuild is not needed. |
272
-
| The login page has no SSO option, or Function has no Sandbox selector |Set the matching `NEXT_PUBLIC_` flag. Run `bunx sim-setup doctor` to check twins and Sandbox readiness. |
271
+
| The login page has no SSO option, or Function has no Sandbox selector |Check `SSO_ENABLED` (or `ENTERPRISE_ENABLED`) and Sandbox readiness, then restart the app. Run `bunx sim-setup doctor` to check Sandbox readiness. |
273
272
|**Settings → Sandboxes** shows an upgrade notice | Check Sandbox entitlement, provider credentials, and the immutable Function base. |
274
273
| An enabled feature has no effect in a workspace | Confirm that the workspace belongs to an organization. Use the backfill or workspace move procedure if needed. |
0 commit comments