LSF9 - Conditional Rule Based On Current Product Line

 3 Replies
 0 Subscribed to this topic
 15 Subscribed to this forum
Sort:
Author
Messages
JayGee
Basic Member
Posts: 7
Basic Member

    I'm using the same security profile in our live product line (PRODUCTION) as well as our test environment (PRODCOPY) because we usually want the same security in both areas.  There is one area that we're testing so we want to give them access in the test product line only. 

    I was hoping to just use a conditional securiy rule that would check the product line and then grant access or deny access.  Does anyone know how you check the product line in a conditional security rule?

    MattM
    Veteran Member
    Posts: 82
    Veteran Member
      You will need to create a security class granting access to the appropriate productline. Assign the security class to the appropriate roles/users. There is no way within the same profile to allow a user access to a token in one productline and not another.
      JayGee
      Basic Member
      Posts: 7
      Basic Member

        Thanks you for replying. 

        The user has access to both product lines but I was hoping to do a conditional access on the form based upon which productline they are in such as...

        if ProductLine == 'PRODCOPY' 

               'ALL_ACCESS'

        else

              'NO_ACCESS'

        I know you can do something similiar with SystemCode but I can't get this to work with the current data source\product line.  If I can't get this to work then I'll have to maintain security for 2 different security profiles.  I was hoping to save myself some administrative overhead.

         

         

         

        MattD
        Veteran Member
        Posts: 94
        Veteran Member

          Two product lines can point at the same Security Profile.  Just create a seperate role and security class granting access to each product line within the same profile.  I hope this helps.

           

          Thanks. - MD