Perhaps it would be better to also update the declarativeSecurity example, which I took inspiration from:
Code:
dynamicProperties: {
canEdit: { operator: "or",
criteria: [
{ fieldName: "auth.roles", operator:"contains", value:"CEO" },
{ fieldName: "auth.roles", operator:"contains", value:"HR" }
]
}
}
Leave a comment: