Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Security
LSF9/LS/ESS
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
211
Members:
0
Total:
211
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Infor / Lawson Platforms
S3 Security
LSF9/LS/ESS
Please
login
to post a reply.
7 Replies
0
Subscribed to this topic
15 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Jimmy Chiu
Veteran Member
Posts: 641
4/7/2010 6:09 PM
I am creating a new ESS security class since the lawson delivered ESS templates don't work. I have assigned the rules according to the Employee Self-Service Technical documentation. I keep getting this error when I do a pay check inquiry and here is the log from fiddler:
Caused by: com.lawson.lawsec.author.runtime.LawsonSecurityException:Exception while checking security on token EMPLOYEE for user
. Message: org.mozilla.javascript.WrappedException: Wrapped com.lawson.lawsec.RulesEngine.LawsonJavaScriptException:Got exception while intializing class JSRMFactory.isIdParentInStruct. Message: {1}. (
#1)
Stack Trace : org.mozilla.javascript.WrappedException: Wrapped com.lawson.lawsec.RulesEngine.LawsonJavaScriptException:Got exception while intializing class JSRMFactory.isIdParentInStruct. Message: {1}. (
#1)
Any idea?
MattD
Veteran Member
Posts: 94
4/7/2010 6:43 PM
Can you post the rule you are using?
Jimmy Chiu
Veteran Member
Posts: 641
4/7/2010 6:47 PM
I created an element group COMPEMP and assigned this rule to the ELG:
if(user.getCompany()==lztrim(COMPANY)&&user.getEmployeeId()==lztrim(EMPLOYEE)||user.getAttribute('Access')=='Y')
'ALL_ACCESS,'
else
'NO_ACCESS,'
On my EMPLOYEE file rule is:
if(isElementGrpAccessible('COMPEMP','I','HR',table.COMPANY,table.EMPLOYEE))
'ALL_ACCESS,'
else
'NO_ACCESS,'
On my HR11.1 online rule is:
if(isElementGrpAccessible('COMPEMP','I','HR',form.EMP_COMPANY,form.EMP_EMPLOYEE))
'ALL_ACCESS,'
else
'NO_ACCESS,'
Jimmy Chiu
Veteran Member
Posts: 641
4/7/2010 7:00 PM
Even without the rules in place/lawsec off, I am still getting the same error.
MattD
Veteran Member
Posts: 94
4/8/2010 1:03 PM
Did you turn security off in the Security Admin or at the LID command prompt?
Jimmy Chiu
Veteran Member
Posts: 641
4/8/2010 7:20 PM
In secuirty admin.
I have narrowed down the problem with conflicts between the ESS security class and the MSS security class.
With only one class assigned, either ESS or MSS would function without problem.
When both classes are assigned, it creates the EMPLOYEE tkn error posted above.
In in ESS secclass EMPLOYEE file has this rule:
if(isElementGrpAccessible('COMPEMP','I','HR',table.COMPANY,table.EMPLOYEE))
'ALL_ACCESS,'
else
'NO_ACCESS,'
and the COMPEMP has this rule:
if(user.getCompany()==lztrim(COMPANY)&&user.getEmployeeId()==lztrim(EMPLOYEE)||user.getAttribute('Access')=='Y')
'ALL_ACCESS,'
else
'NO_ACCESS,'
In my MSS secclass, employee file has this rule:
if(user.getCompany()==lztrim(COMPANY)&&user.getEmployeeId()==lztrim(EMPLOYEE)||user.getAttribute('Access')=='Y')
'ALL_ACCESS,'
else
'NO_ACCESS,'
They both function fine by itself, but once you assign both to a role, it starts to bark out error...
Any idea?
MattD
Veteran Member
Posts: 94
4/8/2010 7:38 PM
Here is my rule for the Employee file for employees. We don't utilize MSS at this time.
if(isElementGrpAccessible('COMPEMP','','HR',lztrim(table.COMPANY),lztrim(table.EMPLOYEE)))
'ALL_ACCESS,'
else
'NO_ACCESS,'
I have never used the function ("I") before. You don't need to because you are setting the access.
Hope this helps.
Jimmy Chiu
Veteran Member
Posts: 641
4/12/2010 12:07 PM
Found out what the problem was. it's one of the rule in my MSS secclass.
I used user.isSupervisorOf(RDId) to gather the employee that the manager has access to. But we don't have a RM structure in place. Thus, the error.
I switched to user.isSupervisorOfEmpInHR (we have the HR07/HR11 structure in place), thus, error gone and no more issue.
Please
login
to post a reply.