Lost admin rigths ('administrator' is not showing when login as admin)

When i login as administrator im not able to see tab ‘administrator’ in order to make other users admin:

I tried solution mentioned here, but still not able to see the ‘administrator’ tab:

Im using community version 7.8 (build 26217)

Thanks

Hi,

Welcome to the community!

In fact the query published in the docs is out of date (and will be fixed at the next release).

Try this:

INSERT INTO user_roles(user_id, role, organization_uuid) 
VALUES ((select id from users where login='mylogin'), 
admin', 
(select uuid from organizations where kee='default-organization'));

 
Ann

Thanks for your solution Ann, is working now.

1 Like