Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	if subjectMatches(p, a.GetUser()) {
    		if verbMatches(p, a) {
    			// Resource and non-resource requests are mutually exclusive, at most one will match a policy
    			if resourceMatches(p, a) {
    				return true
    			}
    			if nonResourceMatches(p, a) {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
Back to top