Expand workspaces list
Problem
As it stands, there is no way for an admin to show all workspaces in coder (or all workspaces owned by a user).
My ideal workflow is coder workspaces list shows all workspaces the caller has access to. The caller can then restrict the output to a particular user with coder workspaces list -f "username=<username>" or to a particular template with coder workspaces list -f "template=<template>".
I am not suggesting an abbreviated filter syntax like -u <username> because I believe in the near-term we will want the ability to filter and sort by arbitrary parameters. I also believe we will want the ability to finely control which columns are shown.
This is preferable to some "--all" flag because there are cases where someone may have access to a few workspaces and not necessarily "all".
Also: workspace management is a big reason to use coder, and we want to give the admin that feeling of total control and visibility.
Later power
I want all active workspaces with more than 8 CPU cores:
$ coder workspaces list -f "agent.cpu > 8 AND active" -c "username,email,workspace"
Seems like a reasonable and good improvement. Marking as Enterprise MVP milestone (not an enterprise level feature, though)
The essential "coder list" showing all workspaces is complete.