diff --git a/thehive/app/org/thp/thehive/controllers/v0/DashboardCtrl.scala b/thehive/app/org/thp/thehive/controllers/v0/DashboardCtrl.scala index 5224dfa4f3..c012d820a8 100644 --- a/thehive/app/org/thp/thehive/controllers/v0/DashboardCtrl.scala +++ b/thehive/app/org/thp/thehive/controllers/v0/DashboardCtrl.scala @@ -38,7 +38,7 @@ class DashboardCtrl @Inject() ( .flatMap { case richDashboard if dashboard.status == "Shared" => dashboardSrv - .share(richDashboard.dashboard, request.organisation, writable = false) + .share(richDashboard.dashboard, request.organisation, writable = true) .flatMap(_ => dashboardSrv.get(richDashboard.dashboard).richDashboard.getOrFail("Dashboard")) case richDashboard => Success(richDashboard) } diff --git a/thehive/app/org/thp/thehive/controllers/v1/DashboardCtrl.scala b/thehive/app/org/thp/thehive/controllers/v1/DashboardCtrl.scala index 7b539e105b..3f358942bd 100644 --- a/thehive/app/org/thp/thehive/controllers/v1/DashboardCtrl.scala +++ b/thehive/app/org/thp/thehive/controllers/v1/DashboardCtrl.scala @@ -63,7 +63,7 @@ class DashboardCtrl @Inject() ( .flatMap { case richDashboard if dashboard.status == "Shared" => dashboardSrv - .share(richDashboard.dashboard, request.organisation, writable = false) + .share(richDashboard.dashboard, request.organisation, writable = true) .flatMap(_ => dashboardSrv.get(richDashboard.dashboard).richDashboard.getOrFail("Dashboard")) case richDashboard => Success(richDashboard) }