stf icon indicating copy to clipboard operation
stf copied to clipboard

I set the login type is google auth, how to login with admin?

Open luoxi5017 opened this issue 6 years ago • 5 comments

Now I can only use my google account to login, but it doesn't have admin permission. I want to use the group to book devices, but found all devices are in the Common group and can't see this group in my google login account.

So I guess this is a permission issue, how to login by admin?

Thanks

luoxi5017 avatar Jul 02 '20 10:07 luoxi5017

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.81. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jul 02 '20 10:07 issue-label-bot[bot]

You can change your account type directly in Rethinkdb console.

koral-- avatar Jul 02 '20 12:07 koral--

Hi @luoxi001713 , To get admin role, you have to login with admin credentials, normally you have specified these information at STF database creation step (cf. section Running of README.md or doc/GroupFeature.pdf), if not and if default credentials does not fit your requirements, you have to re-create the STF database providing the expecting information.

denis99999 avatar Jul 02 '20 14:07 denis99999

You can change your account type directly in Rethinkdb console.

I feel it is not recommended to do that because the built-in admin user may be referenced by other objects as Groups, Access Tokens and Devices, and it may lead to inconsistency, so in such situation it is highly recommended to re-create the STF database providing the expecting information.

denis99999 avatar Jul 02 '20 14:07 denis99999

You can change your account type directly in Rethinkdb console.

I feel it is not recommended to do that because the built-in admin user may be referenced by other objects as Groups, Access Tokens and Devices, and it may lead to inconsistency, so in such situation it is highly recommended to re-create the STF database providing the expecting information.

@denis99999 thank you very much, it is really helpful.

luoxi5017 avatar Jul 02 '20 15:07 luoxi5017