How to create devuser on a Kaa single Linux node

我的梦境 提交于 2019-12-11 09:57:40

问题


Description:

I try with Kaa components on a single Linux node instead of Kaa sandbox; and I want to create a devuser with devuser role ; but on a single Linux node not a default devuser role for create developer user and or tenant admin.

What command should I use for create developer user and tenant admin in terminal?

Hint: Environment: Ubuntu 14.04 LTS Desktop 64-bit


回答1:


The user types in Kaa are plit by the scope and roles they have access to and manage.

Thus:

  1. Kaa administrator is the highest level administrator of Kaa. This user can create, edit, and delete tenant administrators.

That is, this user type cannot create a Tenant Developer.

  1. Tenant administrator is a Kaa user that manages applications, users, and event class families.

  2. Tenant developer can create SDKs based on customer requirements, set the Kaa schemas, create endpoint groups, control the notification processes, etc.

This means that you should first create Kaa administrator. Then, under that user create a Tenant administrator and then, under the Tenant administrator credentials create a Tenant developer.

See Tenants and applications management for more information.

These users are not OS wide and are internal to Kaa node or cluster installation.

Please check Kaa User management REST API documentation page for information on how to manage Kaa users with no use of Administration UI.




回答2:


According to answer from MrKoin;

  • First, create Kaa administrator.
  • Second, under that user create a Tenant administrator;
  • And then, under the Tenant administrator credentials create a Tenant developer.

But, first thing after create Tenant administrator, you should be access to tenant administrator panel and then create Tenant developer and access to Tenant developer panel.

For this way, you need outgoing mail setting according to Administration UI guide.

Note: you need to Allow less secure apps: ON for your email.

And then, for access to Tenant administrator or Tenant developer panel first go to login page and click Forgot password (Note: You need correct email for restore password.)

Finally, an email containing a password recovery will be sent to you. And you have access to your desired tenant panel.




回答3:


  1. Create Kaa Admin User

  2. Modify outgoing email setting (settings -> outgoing email settings):

  3. Create a Tenant (Teants -> Add tenant and creata a new tenant)
  4. Click adduser button (bottom - right side)
  5. Create a user and set a email and as role -> Tenant Admin. An email is sent to Tenant Admin.
  6. Login as Tenant Admin
  7. Create a new Tenant and as role set Tenant Dev.


来源:https://stackoverflow.com/questions/45649173/how-to-create-devuser-on-a-kaa-single-linux-node

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!