Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for subjectMatches (0.13 sec)

  1. pkg/auth/authorizer/abac/abac_test.go

    			t.Errorf("%s: error converting: %v", k, err)
    			continue
    		}
    		attr := authorizer.AttributesRecord{
    			User: &tc.User,
    		}
    		actualMatch := subjectMatches(*policy, attr.GetUser())
    		if tc.ExpectMatch != actualMatch {
    			t.Errorf("%v: Expected actorMatches=%v but actually got=%v",
    				k, tc.ExpectMatch, actualMatch)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 40K bytes
    - Viewed (0)
Back to top