Open Cronocide opened 4 months ago
What are the default admin credentials, or how are they set up the first time? I've got the accounts service up, but everything I've tried is returning
platform:status:AccountNotFound
.
did you get what is the default credentials? I have no idea, where's to create it on docker container?
We have neither default credentials nor admin user created 😄 For the first time you can create a user via UI or via command line:
rushx run-local create-account admin -p password -f John -l Doe
rushx run-local assign-workspace admin my-workspace
rushx run-local set-user-role admin my-workspace OWNER
I have tried to use that command as written on docs. on which container I should use that command on huly docker self host version? I think for docker selfhosted version there is a missing container. maybe a container that we can use rushx command?
Ah, the tools are available in the sources only.
There is much simpler way to do this. Just create a new account from UI, when you create a new workspace, it will this account will be an admin account for this workspace.
I see, thanks for your explanation @aonnikov However, I think I got similar errors as https://github.com/hcengineering/huly-selfhost/issues/15 now. Ok, I will try to fix it.
Aren't there any "server admin" account, which could, like, manage other users, i.e. enable/disable creation of new accounts?
@avl93 nope. The user who created a workspace becomes the owner of this workspace and can manage existing accounts. We do not provide a way to disable creation of new accounts, though.
What are the default admin credentials, or how are they set up the first time? I've got the accounts service up, but everything I've tried is returning
platform:status:AccountNotFound
.