Get the administrator role for some users on rstudio connect


I am currently experiencing the following problem on my Rstudio Connect environment:
In the past, we used our last name to authenticate.
Recently, we have been using SAML authentication and we use our VISA number.
So we currently have two accounts :

  • an account identified by the family name
  • an account identified by the VISA number

The problem is that I used to be an administrator, but since the authentication change, my new account does not have the administrator role.

I would like to change the status of my current account (identified by my VISA) to administrator, but since I no longer have access to my old administrator account (identified by my last name), I don't know how to proceed.

Can you please help me?

Oh no! Howdy @alain!

I very much hope you resolved this issue by now :see_no_evil:

To fix this issue, there are two remedies:

  • "migrate your old user": list accounts with usermanager list, delete your new account with usermanager delete and then alter your old account to have a "new unique id" that matches your new account: usermanager alter --user-guid {{old-user-guid}} --new-unique-id {{my-unique-id}}
  • "change role": The usermanager CLI is always a get-out-of-jail-free card :smile: usermanager alter --user-guid {{old-user-guid}} --new-role administrator

I hope that helps! Either you or someone else who runs into this problem!

Helo @cole !
I just saw your answer.
I was able to find the solution but thanks for the help.

See you soon :smiley:

1 Like