Skip to content

fix: allow regular users to push files #4500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 13, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make gen
  • Loading branch information
sreya committed Oct 12, 2022
commit 1530c96c822fcc618d6a19e676eaee50f609d80e
4 changes: 2 additions & 2 deletions site/src/api/typesGenerated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export interface CreateTemplateVersionRequest {
readonly name?: string
readonly template_id?: string
readonly storage_method: ProvisionerStorageMethod
readonly storage_source: string
readonly file_id: string
readonly provisioner: ProvisionerType
readonly parameter_values?: CreateParameterRequest[]
}
Expand Down Expand Up @@ -504,7 +504,7 @@ export interface ProvisionerJob {
readonly error?: string
readonly status: ProvisionerJobStatus
readonly worker_id?: string
readonly storage_source: string
readonly file_id: string
}

// From codersdk/provisionerdaemons.go
Expand Down
2 changes: 1 addition & 1 deletion site/src/testHelpers/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const MockProvisionerJob: TypesGen.ProvisionerJob = {
created_at: "",
id: "test-provisioner-job",
status: "succeeded",
storage_source: "asdf",
file_id: "fc0774ce-cc9e-48d4-80ae-88f7a4d4a8b0",
completed_at: "2022-05-17T17:39:01.382927298Z",
}

Expand Down