PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06/30/2017 2:53 PM by  thanef
RSS and restrictions
 29 Replies
Sort:
You are not authorized to post a reply.
Page 1 of 612345 > >>
Author Messages
Greg Moeller
Private
Private
Veteran Member
(3957 points)
Veteran Member
Posts:1407


Send Message:

--
08/24/2011 4:22 PM
    I'm just relatively OK with this new Lawson security product. I've tried rules like:

    On the POR-PO-NUMBER field in PO30.1
    if(trim(getDBField('POLINESRC','REQUESTER',form.POR_COMPANY,form.POR_PO_NUMBER))==user.getRequesterId())
    'ALL_ACCESS,'
    else
    'NO_ACCESS'

    But it never seems to take effect. What am I missing here? Is there a better way to do it?

    I know I also have to limit the drills, but wanted to get the form portion of this working first.

    Thanks in advance for any help that you may offer.
    -Greg

    John Henley
    Private
    Private
    Senior Member
    (9692 points)
    Senior Member
    Posts:3248


    Send Message:

    --
    08/25/2011 10:32 AM
    Try putting a trim() around user.getRequesterId(). I would also recommend moving this to the form itself rather than the POR-PO-NUMBER field.
    Thanks for using the LawsonGuru.com forums!
    John
    Greg Moeller
    Private
    Private
    Veteran Member
    (3957 points)
    Veteran Member
    Posts:1407


    Send Message:

    --
    08/25/2011 3:56 PM
    John/others: I've tried that as well (the trim around user.get...) I think I had tried it on the form itself, but was getting other strange errors. Maybe I need to try again?
    And maybe this should be in the security forum?
    Greg Moeller
    Private
    Private
    Veteran Member
    (3957 points)
    Veteran Member
    Posts:1407


    Send Message:

    --
    08/25/2011 4:04 PM
    OK... just tried it on the form itself. Waiting for the reload time to the server, and then I'll test. Will update you more when I know more.
    Greg Moeller
    Private
    Private
    Veteran Member
    (3957 points)
    Veteran Member
    Posts:1407


    Send Message:

    --
    08/25/2011 4:17 PM
    Is it possible that the attached screen shot is just a web-page-generated one, that would require customizations to a javascript, or other to enable this feature?

    Whooops..... I don't have an attachment button here??
    You are not authorized to post a reply.
    Page 1 of 612345 > >>