Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for deng (0.18 sec)

  1. cmd/sts-handlers_test.go

         "s3:GetObjectVersion",
         "s3:ListMultipartUploadParts"
        ],
        "Resource": [
         "arn:aws:s3:::%s/*"
        ]
       },
       {
        "Sid": "DenyDeleteVersionAction",
        "Effect": "Deny",
        "Action": [
         "s3:DeleteObjectVersion"
        ],
        "Resource": [
         "arn:aws:s3:::%s/*"
        ]
       }
      ]
     }
    `, bucket, bucket))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	clientETag, err := etag.FromContentMD5(r.Header)
    	if err != nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidDigest), r.URL)
    		return
    	}
    
    	// if Content-Length is unknown/missing, deny the request
    	size := r.ContentLength
    	rAuthType := getRequestAuthType(r)
    	switch rAuthType {
    	// Check signature types that must have content length
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    	{
    		h := sha256.New()
    		h.Write([]byte("openid:" + subFromToken + ":" + issFromToken))
    		bs := h.Sum(nil)
    		cred.ParentUser = base64.RawURLEncoding.EncodeToString(bs)
    	}
    
    	// Deny this assume role request if the policy that the user intends to bind
    	// has a sts:DurationSeconds condition, which is not satisfied as well
    	{
    		p := policyName
    		if p == "" {
    			var err error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  4. cmd/bucket-handlers.go

    		return
    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Deny object locking configuration settings on existing buckets without object lock enabled.
    	if _, _, err = globalBucketMetadataSys.GetObjectLockConfig(bucket); err != nil {
    		if _, ok := err.(BucketObjectLockConfigNotFound); ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-ldap.go

    					errors.New("service accounts cannot be generated for temporary credentials without parent")), r.URL)
    				return
    			}
    			targetUser = requestorParentUser
    		}
    		targetGroups = requestorGroups
    
    		// Deny if the target user is not LDAP
    		foundLDAPDN, err := globalIAMSys.LDAPConfig.GetValidatedDNForUsername(targetUser)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		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,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  7. CREDITS

    github.com/jessevdk/go-flags
    https://github.com/jessevdk/go-flags
    ----------------------------------------------------------------
    Copyright (c) 2012 Jesse van den Kieboom. All rights reserved.
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are
    met:
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
Back to top