Add environment variable to disable workspace forking for non-superadmin users. When DISABLE_WORKSPACE_FORK is set to "true", only superadmins can create workspace forks. Non-superadmin users will receive an error stating that the endpoint requires superadmin privileges. Changes: - Added DISABLE_WORKSPACE_FORK env var (defaults to false) - Modified create_workspace_fork to check superadmin permission when env is set - Modified create_workspace_fork_branch to check superadmin permission when env is set Fixes #7236 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Windmill API
The API server, exposing functionality to other components and the frontend
This crate exposes both a library as well as a binary target.