crusttech / crust-server

Apache License 2.0
87 stars 21 forks source link

Register bot user #32

Open titpetric opened 5 years ago

titpetric commented 5 years ago

We have a special user type for bots already defined. We need applicable user creation APIs that will allow a registered user to create a bot account, and retrieve it's login credentials in order for a bot to interact with our full API.

We already have /users/create that may create our bot users, but we need something to link the originating account (i.e. "Tit Petric" created bot account "Servant" - we need a relationship in the database which will let the principal account list the bot accounts he created, as well as any credentials that we need to use the bot account).

Related trello card here