Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ui/form/FieldPermssionContainer"

Index

Type aliases

Variables

Type aliases

Props

Props: MainStoreInjected & object

Variables

Const FieldPermissionContainer

FieldPermissionContainer: (Anonymous function) & object = injectMainStore(observer((props: Props) => {const {entityName, propertyName, renderField} = props;const displayReqs: AccessControlRequirements = {attrReqs: [{entityName,attrName: propertyName,requiredAttrPerm: 'VIEW'}]};const modifyReqs: AccessControlRequirements = {attrReqs: [{entityName,attrName: propertyName,requiredAttrPerm: 'MODIFY'}]};return (<AccessControl displayReqs={displayReqs}modifyReqs={modifyReqs}render={renderField}/>);}))

Generated using TypeDoc