Skip to content

Commit

Permalink
set correct role. #731
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Apr 23, 2021
1 parent 96449c6 commit 4ebcc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/authenticable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4ebcc62

Please sign in to comment.