Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EntityPermAccessControlProps

Index

Properties

Optional disabledPropName

disabledPropName: undefined | string

The name of the prop that will be passed to children if mode is disable and the requirement is not fulfilled. Defaults to disabled.

Optional disabledPropValue

disabledPropValue: any

The value of the prop that will be passed to children if mode is disable and the requirement is not fulfilled. Defaults to true.

entityName

entityName: string

Optional mode

mode: "hide" | "disable"

What should happen when the requirement is NOT met. hide means that access-controlled components won't be rendered, disable means that the components will be rendered as disabled / non-modifiable.

Optional operation

operation: EntityOperationType

Required operation permission. Defaults to read.

Optional render

render: undefined | function

Generated using TypeDoc