app/concepts/assignable/common_side_effects.rb
# create initial Assignment from system for the creating user
create initial Assignment from system for the creating user
create initial Assignment from system for the creating user
def should_create_automated_organization_assignment?(model, organization)
        !model.receiver_id.nil? && model.receiver_id != ::User.system_user.id &&
          organization.initialized? && [::User.system_user.id, nil].include?(
            assignable_twin(organization).current_assignment.receiver_id
          )
      end
def should_create_automated_organization_assignment? ( model , organization ) ! model . receiver_id . nil? && model . receiver_id != :: User . system_user . id && organization . initialized? && [ :: User . system_user . id , nil ] . include? ( assignable_twin ( organization ) . current_assignment . receiver_id ) end
create initial Assignment from system for the creating user
create initial Assignment from system for the creating user
model
<not_specific>
organization
<not_specific>