PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04/05/2015 11:07 AM by  Kyric
How to secure AC through activity group, security_cd and structure.
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Kyric
Lawson System Administrator
SMRC
Basic Member
(40 points)
Basic Member
Posts:14


Send Message:

--
03/31/2015 1:53 PM

    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
    Private
    Private
    Basic Member
    (47 points)
    Basic Member
    Posts:17


    Send Message:

    --
    03/31/2015 2:09 PM
    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
    Lawson System Administrator
    SMRC
    Basic Member
    (40 points)
    Basic Member
    Posts:14


    Send Message:

    --
    04/05/2015 11:07 AM
    thank you for the response
    You are not authorized to post a reply.