dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Allow multiple admins

Open thewilloftheshadow opened this issue 1 year ago • 1 comments

What problem will this feature address?

Currently, only one account (the original one) has full admin access to everything on the panel, including the settings tab

Describe the solution you'd like

Allow multiple user accounts to be root admins on Dokploy

Describe alternatives you've considered

We currently use a shared admin account, but this is clumsy to use.

Additional context

No response

thewilloftheshadow avatar Nov 15 '24 17:11 thewilloftheshadow

bump

koyuawsmbrtn avatar May 14 '25 23:05 koyuawsmbrtn

yeah, would love to see this implemented

egidiusmengelberg avatar May 28 '25 13:05 egidiusmengelberg

👀

ortegaxc avatar May 31 '25 12:05 ortegaxc

bump

mumerfarooq000 avatar Jun 04 '25 17:06 mumerfarooq000

Like sure for personal use it's fine, but I'm working on a company server with an entire DevOps team using Dokploy and that's just atrocious

koyuawsmbrtn avatar Jun 04 '25 17:06 koyuawsmbrtn

There is work around. Access to postgres docker (from dokploy docker-compose) Note: You can check install.sh and see the postgres

On your machine (use docker ps to get "postgres container id") docker exec -u postgres -it postgrescontainerid /bin/bash

After you access follow there command below

psql -U dokploy

After access to psql

\list
use \c dokploy
\dt
SELECT * FROM member; 

Find and Copy id that you want to set role to owner. Note: id is from the list from SELECT Command

UPDATE member SET role = 'owner' WHERE id = '**id**';

for example UPDATE member SET role = 'owner' WHERE id = 'sdfhsdf881y2asz81fasd';

or if you want all user to get owner role with command below

UPDATE member SET role = 'owner'; 

that it :) I hope this help you guys. :)

Image

karorogunso avatar Jul 01 '25 08:07 karorogunso

A little hack sure, but having a UI to do that would be great

koyuawsmbrtn avatar Jul 03 '25 16:07 koyuawsmbrtn

For the last month, I was using a psql manipulation workaround, but with the new versions, it started to become unstable for the git provider. The provider is not visible to all the owners I set, since they change the database for the git providers. Have you found any workarounds for that as well?

But i think in long run we need a role like admin or something else, maybe not super user but admin that can do everything except deleting super user(owner)

zekiblue avatar Jul 09 '25 07:07 zekiblue

the psql workaround have been worked to me for now, but we started to use dokploy this week and i don't found other issues for using this method... yet...

lunaperegrina avatar Jul 31 '25 15:07 lunaperegrina

bump

tomaszzmudzinski avatar Aug 31 '25 23:08 tomaszzmudzinski