File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,6 @@ STACKABLE_COCKPIT_OIDC_CLIENT_SECRET=your-client-secret
4646# PUBLIC_STACKABLE_COCKPIT_UPLOAD_CONCURRENCY=3 # Maximum number of concurrent file uploads (default: 3)
4747
4848# OPA (Open Policy Agent) — admin rights checking
49- # STACKABLE_COCKPIT_OPA_ENABLED=true # Enable OPA admin checks (default: false )
49+ # STACKABLE_COCKPIT_OPA_ENABLED=true # Enable OPA admin checks (default: true )
5050# STACKABLE_COCKPIT_OPA_URL=http://localhost:8181 # OPA server base URL (required when enabled)
5151# STACKABLE_COCKPIT_OPA_TIMEOUT=5000 # OPA request timeout in milliseconds (default: 5000)
Original file line number Diff line number Diff line change @@ -55,8 +55,7 @@ export const filePreviewColumns =
5555// ── OPA ────────────────────────────────────────────────────────────────────
5656
5757/** When `STACKABLE_COCKPIT_OPA_ENABLED=true`, the app calls OPA on every
58- * authenticated request to check admin rights. Disabled by default — the
59- * admin check is a no-op until OPA is configured. */
58+ * authenticated request to check admin rights. Disabled by default. */
6059export const opaEnabled = env . STACKABLE_COCKPIT_OPA_ENABLED === 'true' ;
6160
6261/** OPA server base URL. Required when OPA is enabled.
You can’t perform that action at this time.
0 commit comments