Unable to access the Admin panel

Hello there!

I’ve just finished setting up Datalore Enterprise via given instructions here and was the first person to create an account (so should technically have Admin access), but for some reason am not able to provide the license key since I don’t get a link to the Admin panel after clicking on the avatar in top-right corner.

Any clue why it might be so?

Hello @RutaPetra,

It should be displayed to the first registered user – please try resetting all the data and sign-up again?

Alternatively, you may grant ADMIN or SUPER_ADMIN role via API (documentation):

curl --request POST \
  --url 'https://${host}/api/user_management/v1/admin/user/role?userId=${userId}&role=SUPER_ADMIN' \
  --header 'Authorization: ${token}'

You will need to set token in the config and restart the application – add ADMIN_API_AUTH_TOKEN: "changeme" to datalore service environment.

UserID is printed to the browser console as user (for example Client initialized clientId=..., user=...).

1 Like

@RutaPetra any news on this?
I encounter the same issue

@Data_PC,

Admin role is automatically assigned to the first registered user. Did you try to assign SUPER_ADMIN role to your current user via API using the request I provided in my previous reply?

1 Like

I did what you suggested, grant SUPER_ADMIN via API and it worked perfectly

Thank you : )

1 Like

@Data_PC,

Awesome! Please also check in the Admin panel wether there are other previously registered users with SUPER_ADMIN role (“Manage users” → “View all users”).

The user which I granted SUPER_ADMIN via the API is the only SUPER_ADMIN