Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for allowed (0.3 sec)

  1. cmd/api-errors.go

    	ErrEntityTooSmall: {
    		Code:           "EntityTooSmall",
    		Description:    "Your proposed upload is smaller than the minimum allowed object size.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrEntityTooLarge: {
    		Code:           "EntityTooLarge",
    		Description:    "Your proposed upload exceeds the maximum allowed object size.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrExcessData: {
    		Code:           "ExcessData",
    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)
  2. cmd/iam.go

    	// Policies were found, evaluate all of them.
    	return sys.GetCombinedPolicy(policy).IsAllowed(args)
    }
    
    // IsAllowed - checks given policy args is allowed to continue the Rest API.
    func (sys *IAMSys) IsAllowed(args policy.Args) bool {
    	// If opa is configured, use OPA always.
    	if authz := newGlobalAuthZPluginFn(); authz != nil {
    		ok, err := authz.IsAllowed(args)
    		if err != nil {
    			authZLogIf(GlobalContext, err)
    		}
    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)
  3. cmd/erasure-server-pool.go

    			// it will fail anyways, however if there is quorum available
    			// with enough disks online but sufficiently inconsistent to
    			// break parity threshold, allow them to be overwritten
    			// or allow new versions to be added.
    
    			return pinfo, z.poolsWithObject(poolObjInfos, opts), nil
    		}
    		defPool = pinfo
    		if !isErrObjectNotFound(pinfo.Err) {
    			return pinfo, noReadQuorumPools, pinfo.Err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	exportContentStrings := map[string]string{
    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)
  5. cmd/erasure-object.go

    				if len(dversions) > len(versions) {
    					versions = dversions
    				}
    				break
    			}
    		}
    		dataDir = reduceCommonDataDir(dataDirs, writeQuorum)
    	}
    
    	// We can safely allow RenameData errors up to len(er.getDisks()) - writeQuorum
    	// otherwise return failure.
    	return evalDisks(disks, errs), versions, dataDir, err
    }
    
    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/iam-store.go

    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	if !isFromNotification {
    		// Check if policy is mapped to any existing user or group. If so, we do not
    		// allow deletion of the policy. If the policy is mapped to an STS account,
    		// we do allow deletion.
    		users := []string{}
    		groups := []string{}
    		cache.iamUserPolicyMap.Range(func(u string, mp MappedPolicy) bool {
    			pset := mp.policySet()
    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)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    						}
    					}
    
    					if testCase.resultL.IsTruncated != resultL.IsTruncated {
    						// Allow an extra continuation token.
    						if !resultL.IsTruncated || len(resultL.Objects) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	if err = checkPathLength(dstFilePath); err != nil {
    		return err
    	}
    	if srcIsDir {
    		// If source is a directory, we expect the destination to be non-existent but we
    		// we still need to allow overwriting an empty directory since it represents
    		// an object empty directory.
    		dirInfo, err := Lstat(dstFilePath)
    		if isSysErrIO(err) {
    			return errFaultyDisk
    		}
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    ) {
    	anonTestStr := "Anonymous HTTP request test"
    	unknownSignTestStr := "Unknown HTTP signature test"
    
    	// simple function which returns a message which gives the context of the test
    	// and then followed by the actual error message.
    	failTestStr := func(testType, failMsg string) string {
    		return fmt.Sprintf("MinIO %s: %s fail for \"%s\": \n<Error> %s", instanceType, testType, testName, failMsg)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top