- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2024 06:19 AM
Hi Everyone.
How to restrict access for HR services in case creation page in Agent Workspace and Native UI based on Assignment Groups?
Any help is appreciated!
Thanks,
Srinath
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 04:13 AM
Hi @Srinath9
Sorry your requirement cant be achieved by HR criteria.
Write one Before query BR on HR Service so that it will show only limited HR Services to the end user .
For example, if you want to show HR Service 'Payroll discrepancy' to HR Payroll group alone then you can use below script in before query BR.
if(!gs.getUser().isMemberOf('HR Payroll'){ // if logged in user is not member of hr payrolll
current.addEncodedQuery('name!=Payroll Discrepancy); //this will show all HR Services except Payroll
}
If you want to restrict the read and write access to the respective HR Payroll case table then use COE Security Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 05:51 AM
Hi @Rajdeep Ganguly ,
Thanks for your response, but unfortunately, I don't have the security admin role in the instance where I need to develop this requirement.
Regards,
Srinath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2024 08:04 AM
Hello,
I think you reply is to restirct the field not to display the data in the field as requested: restrict the 'Payroll Discrepancy' HR service from all other groups except HR Payroll.
I think should be BR before query or client script.
Can you confirm please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2024 08:09 AM
Hello,
I think you reply is to restirct the field not to display the data in the field as requested: restrict the 'Payroll Discrepancy' HR service from all other groups except HR Payroll.
I think should be BR before query or client script.
Can you confirm please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2025 07:11 AM
Hi @Srinath9 , @Sarika S Nair1 : Why did we not used hr criteria condition from table 'sys_user_group' and added condition for group email to be HR payroll email?