Skip to content

fix: properly set casbin authz policy #6679

fix: properly set casbin authz policy

fix: properly set casbin authz policy #6679

Triggered via pull request November 20, 2024 22:03
Status Failure
Total duration 10m 0s
Artifacts 1

checks.yaml

on: pull_request
Matrix: go
integration tests
5m 41s
integration tests
image build
1m 43s
image build
platform-xtest  /  cross-client-test
9m 33s
platform-xtest / cross-client-test
otdfctl e2e tests
5m 26s
otdfctl e2e tests
Protocol Buffer Lint and Gencode Up-to-date check
47s
Protocol Buffer Lint and Gencode Up-to-date check
license check
56s
license check
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 9 warnings
go (service): service/internal/auth/casbin.go#L19
var `defaultPolicyPartsLen` is unused (unused)
go (service): service/internal/auth/casbin.go#L96
field `isDefaultRoleClaim` is unused (unused)
go (service): service/internal/auth/casbin.go#L97
field `isDefaultRoleMap` is unused (unused)
go (service)
issues found
go (sdk)
The job was canceled because "service" failed.
go (sdk)
The operation was canceled.
ci
Process completed with exit code 1.
otdfctl e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/platform/platform. Supported file pattern: go.sum
otdfctl e2e tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
otdfctl e2e tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
otdfctl e2e tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
otdfctl e2e tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

Artifacts

Produced during runtime
Name Size
opentdf~platform~ZDJWHP.dockerbuild
13.3 KB