Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for deng (0.12 sec)

  1. cmd/auth-handler.go

    			ConditionValues: getConditionValues(r, "", cred),
    			ObjectName:      object,
    			IsOwner:         owner,
    			Claims:          cred.Claims,
    			DenyOnly:        true,
    		}) { // Request is not allowed if Deny action on DeleteObjectVersionAction
    			return ErrAccessDenied
    		}
    	}
    	if globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          action,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    				}
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    				writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrInvalidBucketName), r.URL)
    				return
    			}
    		}
    		// Deny SSE-C requests if not made over TLS
    		if !globalIsTLS && (crypto.SSEC.IsRequested(r.Header) || crypto.SSECopy.IsRequested(r.Header)) {
    			if r.Method == http.MethodHead {
    				if ok {
    					tc.FuncName = "handler.ValidRequest"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K 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/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)
Back to top