scientist-softserv / louisville-hyku

Other
0 stars 0 forks source link

Bug: Workflows #109

Closed orangewolf closed 1 year ago

orangewolf commented 1 year ago

Summary

Clicking on Workflows from the admin dashboard causes a 500 error in staging (and in dev).

Acceptance Criteria

Screenshots or Video

Image

Testing Instructions

Url: http://lv-hyku-staging.notch8.cloud/admin/workflow_roles?locale=en

orangewolf commented 1 year ago

Shana March 2022

issue resolved by assigning permission templates to the work flows:

in rancher, I did the following

irb(main):019:1* Sipity::WorkflowRole.all.each do | workflow_role | 
irb(main):020:1*   @workflow = workflow_role.workflow
irb(main):021:1*   @role = workflow_role.role
irb(main):022:1*   @workflow.permission_template = Hyrax::PermissionTemplate.new
irb(main):023:1*   @workflow.save
irb(main):024:0> end

https://lv-hyku-staging.notch8.cloud/admin/workflow_roles?locale=en

Image