Adding promoting to owner
Deploy / deploy-dev (push) Successful in 2m26s
Deploy / deploy-prod (push) Has been skipped

This commit is contained in:
blaisadmin
2026-06-05 21:15:55 -04:00
parent bb589e3489
commit 480bbe8fc7
4 changed files with 65 additions and 2 deletions
@@ -415,6 +415,10 @@ export const updateWorkspaceMemberRole = async ({
SET role = $3
WHERE id = $1
AND workspace_id = $2
AND (
$3 <> 'owner'
OR $4 = TRUE
)
AND (
role <> 'owner'
OR (