Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for isAllowed (1.01 sec)

  1. cmd/admin-handlers-users.go

    	}
    
    	checkDenyOnly := false
    	if name == cred.AccessKey {
    		// Check that there is no explicit deny - otherwise it's allowed
    		// to view one's own info.
    		checkDenyOnly = true
    	}
    
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.GetUserAdminAction,
    		ConditionValues: getConditionValues(r, "", cred),
    		IsOwner:         owner,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    	}
    
    	// Sub policy not set, this is most common since subPolicy
    	// is optional, use the inherited policies.
    	return isOwnerDerived || combinedPolicy.IsAllowed(args)
    }
    
    func isAllowedBySessionPolicyForServiceAccount(args policy.Args) (hasSessionPolicy bool, isAllowed bool) {
    	hasSessionPolicy = false
    	isAllowed = false
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    	readable := globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    		Action:          policy.ListBucketAction,
    		BucketName:      bucket,
    		ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials),
    		IsOwner:         false,
    	})
    
    	// Check if anonymous (non-owner) has access to upload objects.
    	writable := globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.implicitFinalizeValue()
            property.implicitFinalizeValue()
            property.disallowChanges()
    
            then:
            0 * _
        }
    
        def "can finalize after changes disallowed"() {
            def property = propertyWithNoValue()
            def function = Mock(Callable)
            def provider = new DefaultProvider<T>(function)
    
            when:
            property.set(provider)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            then:
            def e4 = thrown(IllegalStateException)
            e4.message == 'The value for <display> is final and cannot be changed any further.'
        }
    
        def "cannot specify paths when changes disallowed"() {
            given:
            collection.from('a')
    
            collection.disallowChanges()
    
            when:
            collection.setFrom('some', 'more')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. src/html/template/escape_test.go

    		},
    		{
    			`Hello, {{. | urlquery | print}}!`,
    			// urlquery is disallowed if it is not the last command in the pipeline.
    			`predefined escaper "urlquery" disallowed in template`,
    		},
    		{
    			`Hello, {{. | html | print}}!`,
    			// html is disallowed if it is not the last command in the pipeline.
    			`predefined escaper "html" disallowed in template`,
    		},
    		{
    			`Hello, {{html . | print}}!`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  8. plugin/pkg/admission/noderestriction/admission_test.go

    		},
    		// Node leases
    		{
    			name:       "disallowed create lease in namespace other than kube-node-lease - feature enabled",
    			attributes: admission.NewAttributesRecord(leaseWrongNS, nil, leaseKind, leaseWrongNS.Namespace, leaseWrongNS.Name, leaseResource, "", admission.Create, &metav1.CreateOptions{}, false, mynode),
    			err:        "forbidden: ",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    * Live JVM state types
    * Gradle model types
    * Dependency management types
    
    In all cases the reason these types are disallowed is that their state cannot easily be stored or recreated by the configuration cache.
    
    Live JVM state types (e.g. `ClassLoader`, `Thread`, `OutputStream`, `Socket` etc...) are simply disallowed.
    These types almost never represent a task input or output.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

    
            then:
            def e = thrown(IllegalStateException)
            e.message == 'The value for this property cannot be changed any further.'
        }
    
        def "cannot set to empty list after changes disallowed"() {
            given:
            def property = property()
            property.set(someValue())
            property.disallowChanges()
    
            when:
            property.empty()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top