Member Junction
Preparing search index...
@memberjunction/integration-test-suite
checks/fls-enforcement.checks
SetRule
Function SetRule
SetRule
(
ctx
:
IntegrationCheckContext
,
fieldId
:
string
,
roleId
:
string
,
read
:
"Allow"
|
"Deny"
|
"No Access"
,
update
:
"Allow"
|
"Deny"
|
"No Access"
,
create
:
"Allow"
|
"Deny"
|
"No Access"
,
)
:
Promise
<
[
boolean
,
string
]
>
Rewrite one (field, role) rule through the real entity path; returns [ok, message].
Parameters
ctx
:
IntegrationCheckContext
fieldId
:
string
roleId
:
string
read
:
"Allow"
|
"Deny"
|
"No Access"
update
:
"Allow"
|
"Deny"
|
"No Access"
create
:
"Allow"
|
"Deny"
|
"No Access"
Returns
Promise
<
[
boolean
,
string
]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Member Junction
Loading...
Rewrite one (field, role) rule through the real entity path; returns [ok, message].