lib/workflow_setup.rb
# Give superusers the managing role in all AdminSets
# Also give them all workflow roles for all AdminSets
Give superusers the managing role in all AdminSets
Also give them all workflow roles for all AdminSets
Give superusers the managing role in all AdminSets Also give them all workflow roles for all AdminSets
def give_superusers_superpowers
    @logger.info "Giving superuser powers to #{superusers.pluck(:ppid)}"
    give_superusers_managing_role
    give_superusers_workflow_roles
  end
def give_superusers_superpowers @logger . info "Giving superuser powers to #{superusers.pluck(:ppid)}" give_superusers_managing_role give_superusers_workflow_roles end
Give superusers the managing role in all AdminSets
Also give them all workflow roles for all AdminSets
Give superusers the managing role in all AdminSets Also give them all workflow roles for all AdminSets