Browse Source

allow support users to access the edit org page

pull/557/head
Kat 3 years ago
parent
commit
fbda7a4767
  1. 2
      app/controllers/organisations_controller.rb

2
app/controllers/organisations_controller.rb

@ -26,7 +26,7 @@ class OrganisationsController < ApplicationController
end
def edit
if current_user.data_coordinator?
if current_user.data_coordinator? || current_user.support?
render "edit", layout: "application"
else
head :unauthorized

Loading…
Cancel
Save