feat(coder): add authz_querier experiment (#5858)

* feat(coderd): add authz_querier experiment

* coderdtest: wire up authz_querier

* wire up AuthzQuerier in coderd

* remove things that do not yet exist in this timeline

* add newline

* comment unreachable code
This commit is contained in:
Cian Johnston
2023-01-25 21:35:53 +00:00
committed by GitHub
parent 1cd5f38cb0
commit 8735f51047
8 changed files with 66 additions and 11 deletions
+10 -4
View File
@@ -1072,17 +1072,23 @@ curl -X GET http://coder-server:8080/api/v2/experiments \
> 200 Response
```json
["string"]
["authz_querier"]
```
### Responses
| Status | Meaning | Description | Schema |
| ------ | ------------------------------------------------------- | ----------- | --------------- |
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | array of string |
| Status | Meaning | Description | Schema |
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------------------- |
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | array of [codersdk.Experiment](schemas.md#codersdkexperiment) |
<h3 id="get-experiments-responseschema">Response Schema</h3>
Status Code **200**
| Name | Type | Required | Restrictions | Description |
| -------------- | ----- | -------- | ------------ | ----------- |
| `[array item]` | array | false | | |
To perform this operation, you must be authenticated. [Learn more](authentication.md).
## Update check
+14
View File
@@ -2439,6 +2439,20 @@ CreateParameterRequest is a structure used to create a new parameter value for a
| `trial` | boolean | false | | |
| `warnings` | array of string | false | | |
## codersdk.Experiment
```json
"authz_querier"
```
### Properties
#### Enumerated Values
| Value |
| --------------- |
| `authz_querier` |
## codersdk.Feature
```json