Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for denied (0.24 sec)

  1. cmd/sts-handlers_test.go

    	// Validate that the client cannot remove any objects
    	err = minioClient.RemoveObject(ctx, bucket, "someobject", minio.RemoveObjectOptions{})
    	if err.Error() != "Access Denied." {
    		c.Fatalf("unexpected non-access-denied err: %v", err)
    	}
    }
    
    func (s *TestSuiteIAM) TestSTSWithGroupPolicy(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    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/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAccessDenied: {
    		Code:           "AccessDenied",
    		Description:    "Access Denied.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrBadDigest: {
    		Code:           "BadDigest",
    		Description:    "The Content-Md5 you specified did not match what we received.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/iam-store.go

    				}
    				g, ok = c.iamGroupsMap[name]
    				if !ok {
    					return nil, time.Time{}, errNoSuchGroup
    				}
    			}
    
    			// Group is disabled, so we return no policy - this
    			// ensures the request is denied.
    			if g.Status == statusDisabled {
    				return nil, time.Time{}, nil
    			}
    		}
    
    		policy, ok := c.iamGroupPolicyMap.Load(name)
    		if ok {
    			return policy.toSlice(), policy.UpdatedAt, nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cmd/iam.go

    		if len(unknownPoliciesSet) > 0 {
    			authz := newGlobalAuthZPluginFn()
    			if authz == nil {
    				// Print a warning that some policies mapped to a role are not defined.
    				errMsg := fmt.Errorf(
    					"The policies \"%s\" mapped to role ARN %s are not defined - this role may not work as expected.",
    					unknownPoliciesSet.ToSlice(), arn.String())
    				authZLogIf(ctx, errMsg, logger.WarningKind)
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. cmd/erasure-object.go

    			markDelete = false
    		}
    		if opts.VersionPurgeStatus() == Complete {
    			markDelete = false
    		}
    		// now, since VersionPurgeStatus() is already set, we can let the
    		// lower layers decide this. This fixes a regression that was introduced
    		// in PR #14555 where !VersionPurgeStatus.Empty() is automatically
    		// considered as Delete marker true to avoid listing such objects by
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/xl-storage_test.go

    		}
    	}
    
    	// TestXLStorage for permission denied.
    	if runtime.GOOS != globalWindowsOSName {
    		permDeniedDir := createPermDeniedFile(t)
    		if err = os.Chmod(permDeniedDir, 0o400); err != nil {
    			t.Fatalf("Unable to change permission to temporary directory %v. %v", permDeniedDir, err)
    		}
    
    		// Initialize xlStorage storage layer for permission denied error.
    		_, err = newLocalXLStorage(permDeniedDir)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    				ObjectName:      "",
    				Claims:          cred.Claims,
    			}) {
    				bucketsInfo[n] = bucketInfo
    				n++
    			}
    		}
    		bucketsInfo = bucketsInfo[:n]
    		// No buckets can be filtered return access denied error.
    		if len(bucketsInfo) == 0 {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    	}
    
    	// Generate response.
    	response := generateListBucketsResponse(bucketsInfo)
    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)
  8. cmd/admin-handlers-users.go

    	condValues := getConditionValues(r, "", cred)
    	addExpirationToCondValues(createReq.Expiration, condValues)
    
    	// Check if action is allowed if creating access key for another user
    	// Check if action is explicitly denied if for self
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.CreateServiceAccountAdminAction,
    		ConditionValues: condValues,
    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)
  9. go.sum

    github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=
    github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0=
    github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 h1:rpfIENRNNilwHwZeG5+P150SMrnNEcHYvcCuK6dPZSg=
    github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 84.2K bytes
    - Viewed (0)
Back to top