$ abra app run YOURDOMAIN db -- bash -c 'echo "UPDATE user_entity SET role = \"admin\" WHERE id = \"YOURID\";" | mysql -u root -p$(cat /run/secrets/db_root_password) tellaweb'
workaround
```
$ abra app run YOURDOMAIN db -- bash -c 'echo "UPDATE user_entity SET role = \"admin\" WHERE id = \"YOURID\";" | mysql -u root -p$(cat /run/secrets/db_root_password) tellaweb'
```
abra app run DOMAIN api /docker-entrypoint.sh npm run console users create -a EMAIL
to this:
abra app run DOMAIN api -- /docker-entrypoint.sh npm run console users create -a EMAIL
maybe it needs a double dash?
from this:
```
abra app run DOMAIN api /docker-entrypoint.sh npm run console users create -a EMAIL
```
to this:
```
abra app run DOMAIN api -- /docker-entrypoint.sh npm run console users create -a EMAIL
```
sadly it seems the -a option is not working, we just got some small funding for a couple of tellaweb features so i will try to sneak a fix of that in the next release.
In the meantime i think as a workaround you could try doing npm run console users toggle-role EMAIL for making the user admin after creating it.
Hope this helps 👍
Hi! juan from tellaweb here :)
sadly it seems the `-a` option is not working, we just got some small funding for a couple of tellaweb features so i will try to sneak a fix of that in the next release.
In the meantime i think as a workaround you could try doing ` npm run console users toggle-role EMAIL` for making the user admin after creating it.
Hope this helps 👍
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Currently sets new users as viewer even though it has the npm console command does have an -a flag meaning it should create it as admin
workaround
maybe it needs a double dash?
from this:
to this:
Hi! juan from tellaweb here :)
sadly it seems the
-aoption is not working, we just got some small funding for a couple of tellaweb features so i will try to sneak a fix of that in the next release.In the meantime i think as a workaround you could try doing
npm run console users toggle-role EMAILfor making the user admin after creating it.Hope this helps 👍
Woohoo, thank you @juandans01 !