Skip to content

refactor: authz

refactor: authz #2503

Triggered via pull request November 13, 2024 16:48
@leg100leg100
synchronize #708
refactor-authz
Status Failure
Total duration 1m 10s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: internal/logs/service_test.go#L24
unknown field run in struct literal of type Service
build: internal/logs/service_test.go#L55
unknown field run in struct literal of type Service
build: internal/logs/service_test.go#L77
unknown field run in struct literal of type Service
build: internal/logs/service_test.go#L120
unknown field run in struct literal of type Service
build: internal/logs/service_test.go#L159
unknown field run in struct literal of type Service (compile)
build: internal/module/web.go#L97
subject.CanAccessOrganization undefined (type authz.Subject has no field or method CanAccessOrganization) (compile)
build: internal/module/web.go#L97
subject.CanAccessOrganization undefined (type authz.Subject has no field or method CanAccessOrganization) (compile)
build: internal/run/lock_file_service.go#L17
cannot use runID (variable of type "github.com/leg100/otf/internal/resource".ID) as *authz.AccessRequest value in argument to s.CanAccess
build: internal/run/lock_file_service.go#L41
cannot use runID (variable of type "github.com/leg100/otf/internal/resource".ID) as *authz.AccessRequest value in argument to s.CanAccess
build: internal/run/run.go#L463
policy.WorkspaceID undefined (type authz.WorkspacePolicy has no field or method WorkspaceID)
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
No files were found with the provided path: internal/integration/screenshots/**/*.png. No artifacts will be uploaded.