app/models/miq_provision_request_template.rb
# NOTE: for services, the requester is the owner
for services, the requester is the owner
for services the requester is the owner
def owner_options(service_task)
    user = User.find_by_userid(service_task.userid)
    return {} if user.nil?
    {
      :requester_group  => service_task.options[:requester_group],
      :owner_email      => user.email,
      :owner_group      => service_task.options[:requester_group],
      :owner_first_name => user.first_name,
      :owner_last_name  => user.last_name
    }
  end
def owner_options ( service_task ) user = User . find_by_userid ( service_task . userid ) return { } if user . nil? { :requester_group => service_task . options [ :requester_group ] , :owner_email => user . email , :owner_group => service_task . options [ :requester_group ] , :owner_first_name => user . first_name , :owner_last_name => user . last_name } end
NOTE: for services, the requester is the owner
NOTE : for services the requester is the owner
service_task
<not_specific>