Legacy hr_task Simple Separation rules: allow a second group to see specific tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
We are on the legacy unscoped HR tables (hr_case / hr_task) with Simple Separation rules created in 2015 from a Share app. Two before-query business rules on hr_task filter tasks by assignment group membership:
- One shows a task to members of its assignment group or to the user who opened it.
- The other (an older rule with no separation rule record behind it) shows a task only to members of its assignment group.
Use case: Team A creates a specific type of task on a case, and it is assigned to Team B. Team A needs read/write access to only those tasks, not Team B's other tasks or cases. Because the query rules run before ACLs, adding roles, a security group, or the watch list does not make the task visible.
We would prefer not to edit the Simple Separation rules, because the same pattern would be needed for many other groups and the hand-edited script would drift from its separation rule record.
Questions:
- Is there a supported way to grant cross-group visibility to specific hr_task records while Simple Separation rules are active?
- Is it safe to deactivate an orphaned Simple Separation query rule that has no matching separation rule record?
- Has anyone handled this pattern without moving to scoped HRSD?
Thanks in advance.