Need help troubleshooting a rule

Sort:
You are not authorized to post a reply.
Author
Messages
John Costa
Veteran Member
Posts: 154
Veteran Member
    To all,

    I need help understanding / troubleshooting a unique security issue.

    In our LDAP schema, we've defined a custom attribute named Region.  This attribute is defined as a 15-character string.  The values are limited to the following:

    • CMS-HR
    • Corporate-HR
    • Cypress-HR
    • Manasquan-HR
    • Region-SW
    • Wichita-HR
    In the Lawson Security Administrator, this Region attribute is then set for each employee in their RM record.

    We are licensed for Employee Self-Service, LP - Absence Management, and TA - Event Management.  In 2010, we converted from TA to LP.  Since then, all employee Leave Balances are tracked in the LP module.

    Here's where it gets interesting.  I have a security class that is assigned to specifc HR employees.  The purpose of this class is to limit the data those employees can see based on the Region attribute in their RM record.  The rule for that class is as follows:

    if(SystemCode=='AC')||isStructNodeTitleAbove('ClassDataStructure',PROCESS_LEVEL,user.getAttribute('Region'))){'ALL_ACCESS.'}else{'NO_ACCESS,'}

    For some reason, any HR employee that has this class assigned to their role sees their PTO balance as it existed in the TA module at the time of the conversion.  If I remove this class from their role, they then see their PTO balance as it currently exists in the LP module.

    Can someone help me out in understanding why this rule limits Leave Balance access to the old information in the TA module and not the current information in the LP module?
     


    _________________ John - Wichita, KS
    John Henley
    Senior Member
    Posts: 3348
    Senior Member
      John,
      Usually when I see that happen it is because the class has a securable object type (i.e. table or form) combined with a given system code/category. That combination results in all tables/forms being available for the entire system code. That would be the first thing I'd look at. See this article:
      https://www.lawsonguru.co...cation-Security.aspx
      Thanks for using the LawsonGuru.com forums!
      John
      You are not authorized to post a reply.