Stacklok Desktop policies
These directives control which features are visible in Stacklok Desktop. Use them to hide elements that don't apply to your organization's workflow or to enforce a consistent interface for all users.
Playground
Use this directive to show or hide the Playground tab in Stacklok Desktop.
enterpriseConfig:
playground:
# false = hide the Playground tab
# true = show the Playground tab
value: false
# "enforced" blocks local overrides; "default" lets users override locally
enforcement: 'enforced'
The combined behavior of the value and enforcement fields:
| Enforcement | Value | Client behavior |
|---|---|---|
enforced | false | Clients must hide the Playground tab. Users cannot enable it. |
enforced | true | Clients must show the Playground tab. Users cannot disable it. |
default | false | Clients hide the Playground by default but users may enable it. |
default | true | Clients show the Playground by default but users may disable it. |
After updating your configuration, apply the change.
Variations
Advisory hide
Hide the Playground by default while allowing users to re-enable it locally:
enterpriseConfig:
playground:
value: false
enforcement: 'default'
Force Playground visible
For sandbox or training environments where you want to guarantee the Playground is accessible to all users:
enterpriseConfig:
playground:
value: true
enforcement: 'enforced'
Help menu
Use this directive to show or hide the help menu (? button) in Stacklok Desktop.
enterpriseConfig:
help_menu:
# false = hide the help menu
# true = show the help menu
value: false
# "enforced" blocks local overrides; "default" lets users override locally
enforcement: 'enforced'
| Enforcement | Value | Client behavior |
|---|---|---|
enforced | false | Clients must hide the help menu. Users cannot enable it. |
enforced | true | Clients must show the help menu. Users cannot disable it. |
default | false | Clients hide the help menu by default but users may enable it. |
default | true | Clients show the help menu by default but users may disable it. |
After updating your configuration, apply the change.
Variations
Advisory hide
Hide the help menu by default while allowing users to re-enable it locally:
enterpriseConfig:
help_menu:
value: false
enforcement: 'default'
Next steps
- Registry policy to enforce a specific registry URL
- Non-registry servers policy to block servers outside the registry
- Telemetry policy to enforce OpenTelemetry settings
- Degraded mode to define client behavior when the Enterprise Manager is unreachable