Skip to main content

Subject restrictions

Denies a named subject specific resource types or actions.

  • Control id: subject_restrictions
  • Shape: deny. The own row and every matching binding union.
  • Entry points: token, authorize

Policy data​

pbac.operator.controls.subject_restrictions​

  • Role: operator
  • Written by: operator
  • Schema: src/main/resources/schemas/operator-subject-restrictions.v1.json
SettingTypeDefault

Reads​

  • subject.sub

Emits​

  • deny_reasons

Reason codes​

This control emits no reason code.

Implementation​

KindReferenceFilesRole
rego_fragmentoauth.evaluationsopa/policies/oauth/evaluations.regodecides