Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 148 for isAllowed (0.24 sec)

  1. cmd/s3-zip-handlers.go

    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    			if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    				Action:          policy.ListBucketAction,
    				BucketName:      bucket,
    				ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials),
    				IsOwner:         false,
    			}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. cmd/policy_test.go

    		{putObjectActionArgs, true},
    		{getObjectActionArgs, true},
    		{yourbucketAnonGetObjectActionArgs, false},
    		{yourbucketGetObjectActionArgs, true},
    	}
    
    	for i, testCase := range testCases {
    		result := p.IsAllowed(testCase.args)
    
    		if result != testCase.expectedResult {
    			t.Fatalf("case %v: expected: %v, got: %v\n", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            abstract boolean isDeprecated(ConfigurationInternal configuration);
    
            boolean isProperUsage(ConfigurationInternal configuration, boolean allowDeprecated) {
                return isAllowed(configuration) && (allowDeprecated || !isDeprecated(configuration));
            }
    
            public static String buildProperName(ProperMethodUsage usage) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  4. cmd/metrics.go

    		}
    
    		cred := auth.Credentials{
    			AccessKey: claims.AccessKey,
    			Claims:    claims.Map(),
    			Groups:    groups,
    		}
    
    		// For authenticated users apply IAM policy.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PrometheusAdminAction,
    			ConditionValues: getConditionValues(r, "", cred),
    			IsOwner:         owner,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    			if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    				Action:          policy.ListBucketAction,
    				BucketName:      bucket,
    				ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials),
    				IsOwner:         false,
    			}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	// Set delimiter value for "s3:delimiter" policy conditionals.
    	r.Header.Set("delimiter", SlashSeparator)
    
    	isAllowedAccess := func(bucketName string) (rd, wr bool) {
    		if globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.GetObjectAction,
    			BucketName:      bucketName,
    			ConditionValues: getConditionValues(r, "", cred),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    05F5..05FF    ; disallowed                             # NA   <reserved-05F5>..<reserved-05FF>
    0600..0603    ; disallowed                             # 4.0  ARABIC NUMBER SIGN..ARABIC SIGN SAFHA
    0604          ; disallowed                             # 6.1  ARABIC SIGN SAMVAT
    0605          ; disallowed                             # 7.0  ARABIC NUMBER MARK ABOVE
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/HierarchicalClassLoaderStructureSerializerTest.groovy

            def classNames = [ 'allowed.Class1', 'allowed.Class2' ]
            def disallowedClassNames = [ 'disallowed.Class1', 'disallowed.Class2' ]
            def packagePrefixes = [ 'allowed.pkgprefix1.', 'allowed.pkgprefix2' ]
            def disallowedPackagePrefixes = [ 'disallowed.pkgprefix1.', 'disallowed.pkgprefix2.' ]
            def packageNames = [ 'allowed.pkg1', 'allowed.pkg2' ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/toonew.go

    			if t := pkg.Scope().Lookup(typename); t != nil && disallowed[t] == "" {
    				obj, _, _ = types.LookupFieldOrMethod(t.Type(), false, pkg, name)
    			}
    
    		case stdlib.Method:
    			ptr, recvname, name := sym.SplitMethod()
    			if t := pkg.Scope().Lookup(recvname); t != nil && disallowed[t] == "" {
    				obj, _, _ = types.LookupFieldOrMethod(t.Type(), ptr, pkg, name)
    			}
    		}
    		if obj != nil {
    			disallowed[obj] = symVersion
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			expect: authorizer.DecisionAllow,
    		},
    		{
    			name:   "disallowed list many secrets",
    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "list", Resource: "secrets", Name: "", Namespace: "ns0"},
    			expect: authorizer.DecisionNoOpinion,
    		},
    		{
    			name:   "disallowed watch many secrets",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
Back to top