From 8dd323582db38af93613e80228971f9ffd35bcdb Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Mon, 26 Apr 2021 07:47:43 +0200 Subject: [PATCH] developer has role staff_admin --- app/models/concerns/authenticable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/authenticable.rb b/app/models/concerns/authenticable.rb index 1f663fe6f..e720433f2 100644 --- a/app/models/concerns/authenticable.rb +++ b/app/models/concerns/authenticable.rb @@ -175,7 +175,7 @@ def decode_auth_param(username: nil, password: nil) def get_payload(uid: nil, user: nil, password: nil) roles = { "ROLE_ADMIN" => "staff_admin", - "ROLE_DEV" => "developer", + "ROLE_DEV" => "staff_admin", "ROLE_DATACENTRE" => "client_admin", "ROLE_ALLOCATOR" => "provider_admin", "ROLE_CONSORTIUM" => "consortium_admin",