* Detects the following pattern where the CLI is initialized with a client authenticated as the "first user":
client := coderdtest.New(t, ...)
[...]
user := coderdtest.CreateFirstUser(t, client)
[...]
clitest.SetupConfig(t, client, root)
* Updates documentation regarding role permissions on workspaces.
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
* Add docs for user filtering
* Add filter for workspace
* Apply suggestions from code review
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
* docs: Add initial docs to groups and rbac
* Update manifest
* Apply suggestions from code review
Co-authored-by: Joe Previte <jjprevite@gmail.com>
* use single user icon
* chore: add labels and standardize enterprise messaging
* clarify template role
* add groups role
* fix typo
* rename access to use
Co-authored-by: Joe Previte <jjprevite@gmail.com>
Co-authored-by: Ben <me@bpmct.net>