Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 199 for allowed (0.23 sec)

  1. internal/bucket/replication/replication_test.go

    		{ObjectOpts{Name: "xyz/c3test", UserTags: "k1=v1", VersionID: "vid", OpType: DeleteReplicationType}, cfgs[2], true},                     // 21. matches rule 1 - DeleteReplication allowed by rule for permanent delete of version
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    )
    
    const (
    	// Maximum allowed form data field values. 64MiB is a guessed practical value
    	// which is more than enough to accommodate any form data fields and headers.
    	requestFormDataSize = 64 * humanize.MiByte
    
    	// For any HTTP request, request body should be not more than 16GiB + requestFormDataSize
    	// where, 16GiB is the maximum allowed object size for object upload.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. cmd/sts-datatypes.go

    	// A percentage value that indicates the size of the policy in packed form.
    	// The service rejects any policy with a packed size greater than 100 percent,
    	// which means the policy exceeded the allowed space.
    	PackedPolicySize int `xml:",omitempty"`
    }
    
    // AssumeRoleWithWebIdentityResponse contains the result of successful AssumeRoleWithWebIdentity request.
    type AssumeRoleWithWebIdentityResponse struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  4. internal/bucket/encryption/bucket-sse-config_test.go

    			expectedErr: errors.New("only one server-side encryption rule is allowed at a time"),
    			shouldPass:  false,
    		},
    		// 4. Invalid XML - master key ID present along with AES256
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 16 18:28:30 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue24161e0/main.go

    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    #if TARGET_OS_IPHONE == 0 && __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
      typedef CFStringRef SecKeyAlgorithm;
      static CFDataRef SecKeyCreateSignature(SecKeyRef key, SecKeyAlgorithm algorithm, CFDataRef dataToSign, CFErrorRef *error){return NULL;}
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 919 bytes
    - Viewed (0)
  6. internal/bucket/replication/and.go

    	Prefix  string   `xml:"Prefix,omitempty" json:"Prefix,omitempty"`
    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    	return len(a.Tags) == 0 && a.Prefix == ""
    }
    
    // Validate - validates the And field
    func (a And) Validate() error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    // with governance bypass headers set in the request.
    // Objects under site wide WORM can never be overwritten.
    // For objects in "Governance" mode, overwrite is allowed if a) object retention date is past OR
    // governance bypass headers are set and user has governance bypass permissions.
    // Objects in "Compliance" mode can be overwritten only if retention date is past.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    		return
    	}
    
    	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,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  9. internal/config/policy/plugin/config.go

    		return nil
    	}
    	return &AuthZPlugin{
    		args:   args,
    		client: &http.Client{Transport: args.Transport},
    	}
    }
    
    // IsAllowed - checks given policy args is allowed to continue the REST API.
    func (o *AuthZPlugin) IsAllowed(args policy.Args) (bool, error) {
    	if o == nil {
    		return false, nil
    	}
    
    	// Access Management Plugin Input
    	body := make(map[string]interface{})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  10. docs/iam/identity-manager-plugin.go

    	if token == "" {
    		writeErrorResponse(w, errors.New("token parameter not given"))
    		return
    	}
    
    	rsp, ok := tokens[token]
    	if !ok {
    		w.WriteHeader(http.StatusForbidden)
    		return
    	}
    
    	fmt.Printf("Allowed for token: %s user: %s\n", token, rsp.User)
    
    	w.WriteHeader(http.StatusOK)
    	json.NewEncoder(w).Encode(rsp)
    	return
    }
    
    func main() {
    	http.HandleFunc("/", mainHandler)
    
    	log.Print("Listing on :8081")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 2.1K bytes
    - Viewed (0)
Back to top