Skip to main content

Operator read-only mode

Lets an operator put any gateway-fronted resource into read-only mode, denying every scope that mutates upstream state regardless of what the client was granted.

  • Control id: resource_read_only
  • Shape: deny. The own row and every matching binding union.
  • Entry points: token
  • Phases: introspect

Policy data​

pbac.operator.controls.resource_read_only​

  • Role: operator
  • Written by: operator
  • Schema: src/main/resources/schemas/operator-resource-read-only.v1.json
SettingTypeDefault
resourcesarray of stringnone in the schema
instancesobjectnone in the schema

pbac.controls.resource_read_only​

  • Role: projection
  • Written by: platform
SettingTypeDefault

Reads​

  • action
  • context
  • context.rs_context.resource_id
  • context.rs_context.resource_name
  • context.rs_context.scopes

Emits​

  • deny

Reason codes​

CodeCategoryEntry pointSetting
resource_read_onlycontroltokenpbac.operator.controls.resource_read_only#resources
resource_read_only_mixed_scopecontroltokenpbac.operator.controls.resource_read_only#resources

Implementation​

KindReferenceFilesRole
rego_packagepbac.controls.resource_read_onlyopa/policies/pbac/controls/resource_read_only.regodecides
javacom.identos.pbac.gateway.connectors.ResourceAccessProjectionServicesrc/main/java/com/identos/pbac/gateway/connectors/ResourceAccessProjectionService.javacomputes_fact