Access to form based on group check role
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 05:05 AM
i have 3 groups
Director
Junior and senior groups
if the user is part of director they should have access to see the cases which are assigned to director, junior and senior groups even though the director group members are part of junio /senior groups.
if (gs.hasRoleExactly('x_wms_directior') {
if (gs.getUser().isMemberOf(current.assignment_group.toString())) {
return true;
}
return false;
}
here i have one more condition director may not be a part of junior/senior group. in that way hasrole condition will not match right?
i tried this it's not working..
0 REPLIES 0