This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Automatic System Role Assignment based on locality

I am looking for a way, WITHOUT USING DYNAMIC ROLES, that when a person record has X location (or department) + X Business role they get X System role automatically. For example. Bob gets assigned "site 1" location, and the business role "admin", he gets automatically the system role "site 1 admin". Is that possible to accomplish without using dynamic roles? 

Parents Reply Children
  • More instant (or synchronous) would need OnSaving / OnSaved scripts on PersonInLocality, PersonInDepartment, and PersonInOrg that calculate your condition and create the assignment on the fly.

    This assumes that the permissions allow the current user to create the assignment.

    In addition, this solution would need the assignment table to be flagged with AssignByEvent.

    Third, and the worst, that solution does scale well and slows down every role assignment process for the affected tables.