How to secure AC through activity group, security_cd and structure.

 2 Replies
 0 Subscribed to this topic
 15 Subscribed to this forum
Sort:
Author
Messages
Kyric
Basic Member
Posts: 14
Basic Member

    Need help, any advise in securing AC through conditional rules. If the user go to AC00.1 he will only see Activity group belongs to the user. Any help or tips thank you.

    Al
    Basic Member
    Posts: 17
    Basic Member
      I created a security structure within RM Administrator. The structure is such that security is built on the security code on AC00. I then created a custom attribute that is given a value each user's RM record in Lawson Security. This value ties to the structure with security rules on forms, etc.
      Also you will need rules on the Elements ACTIVITY AND ACTIVITY GROUP. Below is an example of a rule I wrote for this:

      if(isStructNodeTitleAbove('ACSecurityStructure',lztrim(getDBField('ACACTIVITY','SECURITY-CD',ACTIVITY)),user.getAttribute('ACSecCode'))||lztrim(getDBField('ACACTIVITY','SECURITY-CD',ACTIVITY))<1)
      'ALL_ACCESS,'
      else
      'NO_ACCESS,'
      Al
      Kyric
      Basic Member
      Posts: 14
      Basic Member
        thank you for the response