Renamed RoleAssignment.calculated to RoleAssignment.parent_id to avoid data corruption issues when role assignments come automatically from more than one source