Skip to content

feat(permissions): allow users to deploy workflows in all workspaces they are an admin in#1463

Merged
waleedlatif1 merged 5 commits intostagingfrom
fix/deploy
Sep 27, 2025
Merged

feat(permissions): allow users to deploy workflows in all workspaces they are an admin in#1463
waleedlatif1 merged 5 commits intostagingfrom
fix/deploy

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

allow admin workspace users to deploy workflows in workspaces they don't own. previously, when deploying, we only checked 1) if its a workspace key then its good or 2) if its a personal key, then only the owner can deploy.

since we have phased out owner and have workspace-level permissions, we should rely on those for everything and not the workspace owner since that's not relevant.

Type of Change

  • New feature

Testing

Manually. Also ensured that the pinnedApiKey displays even if I (User A) own the workspace, and User B (admin) deploys with a personal key, I can still see the preview of what key the workflow is deployed with. Basically, if I can see the modal I can see the preview of the key it was deployed with.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Screenshots/Videos

@vercel
Copy link

vercel bot commented Sep 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sim Ready Ready Preview Comment Sep 27, 2025 2:51am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
docs Skipped Skipped Sep 27, 2025 2:51am

@vercel vercel bot temporarily deployed to Preview – docs September 27, 2025 02:48 Inactive
@waleedlatif1 waleedlatif1 changed the title feat(permissions): allow admin workspace users to deploy workflows in workspaces they don't own feat(permissions): allow users to deploy workflows in all workspaces they are an admin in Sep 27, 2025
@waleedlatif1 waleedlatif1 merged commit bcc7537 into staging Sep 27, 2025
10 checks passed
@waleedlatif1 waleedlatif1 deleted the fix/deploy branch September 27, 2025 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant