Securing RQ10 - in LSF9

 1 Replies
 1 Subscribed to this topic
 90 Subscribed to this forum
Sort:
Author
Messages
jojo.serquina
Veteran Member
Posts: 63
Veteran Member
    I'm trying to secure form RQ10.1 to users based on a custom attribute called DepartmentControl (String 4) - Here's what I've got, but it keeps giving me security violation to users who have multiple values in DepartmentControl... (trim(form.RQH_REQ_LOCATION) == trim(user.getAttribute('DepartmentControl'))) || (trim(form.RQH_REQ_LOCATION) == trim(user.attributeContains('DepartmentControl',getDBField('REQUESTER','REQ_LOCATION',trim(user.getAttribute('DepartmentControl')))))) || (trim(form.RQH_REQ_LOCATION) == trim(user.attributeContains('DepartmentControl',getDBField('REQLINE','REQ_LOCATION',trim(user.getAttribute('DepartmentControl')))))) || (trim(form.RQH_REQ_LOCATION) == trim(user.attributeContains('DepartmentControl',getDBField('RQLOC','REQ_LOCATION',trim(user.getAttribute('DepartmentControl')))))) || (trim(form.RQH_REQ_LOCATION) == trim(user.attributeContains('DepartmentControl',getDBField('REQHEADER','REQ_LOCATION',trim(user.getAttribute('DepartmentControl')))))) Fire away any questions... Thank you!
    jojo.serquina
    Veteran Member
    Posts: 63
    Veteran Member
      I got it working. Thanks.