- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestAuthorizeV0 (0.1 sec)
-
pkg/auth/authorizer/abac/abac_test.go
func TestExampleFile(t *testing.T) { _, err := NewFromFile("./example_policy_file.jsonl") if err != nil { t.Errorf("unable to read policy file: %v", err) } } func TestAuthorizeV0(t *testing.T) { a, err := newWithContents(t, `{ "readonly": true, "resource": "events" } {"user":"scheduler", "readonly": true, "resource": "pods" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 40K bytes - Viewed (0)