From 4ebcc62b65c6ab0a4a7f796117200ea047ea989c Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Fri, 23 Apr 2021 18:16:32 +0200 Subject: [PATCH] set correct role. #731 --- 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 e720433f2..1f663fe6f 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" => "staff_admin", + "ROLE_DEV" => "developer", "ROLE_DATACENTRE" => "client_admin", "ROLE_ALLOCATOR" => "provider_admin", "ROLE_CONSORTIUM" => "consortium_admin",