Logical expression in security action

Certified Associate Developer

im using this code to display button for this 3 groups of users but its only appears only on the first expression groups which is:SLC_GRP_VERIFICATORE_INFRATEL,

is the logical expression of OR / AND is written bad?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Not sure what that logic should express. That or() only wraps a single condition, the and(). In the and, you define many conditions. Which is OK, but hard to validate. Especially without knowing any details.

    I suggest to first implement a more simplified version, and then add more complexity once that works.

Reply
  • 0
    Certified Lead Developer

    Not sure what that logic should express. That or() only wraps a single condition, the and(). In the and, you define many conditions. Which is OK, but hard to validate. Especially without knowing any details.

    I suggest to first implement a more simplified version, and then add more complexity once that works.

Children
No Data