lib/workflow_setup.rb
# A ::User to own notifications
A ::User to own notifications
A :: User to own notifications
def make_notification_owner
    u = ::User.find_or_create_by(uid: NOTIFICATION_OWNER)
    u.ppid = NOTIFICATION_OWNER
    u.display_name = "ETD Notification System"
    u.save
  end
def make_notification_owner u = :: User . find_or_create_by ( uid : NOTIFICATION_OWNER ) u . ppid = NOTIFICATION_OWNER u . display_name = "ETD Notification System" u . save end
A ::User to own notifications
A :: User to own notifications