Create user with admin role #2

Open
opened 2026-01-30 14:04:00 +00:00 by Numerica · 1 comment

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

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
Author

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'
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' ```
Sign in to join this conversation.
No description provided.