Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for argv (0.13 sec)

  1. cmd/iam.go

    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(args))
    	}
    
    	// Sub policy not set, this is most common since subPolicy
    	// is optional, use the inherited policies.
    	return isOwnerDerived || combinedPolicy.IsAllowed(args)
    }
    
    func isAllowedBySessionPolicyForServiceAccount(args policy.Args) (hasSessionPolicy bool, isAllowed bool) {
    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)
  2. cmd/admin-handlers-users.go

    		return
    	}
    
    	args := policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.ListTemporaryAccountsAdminAction,
    		ConditionValues: getConditionValues(r, "", cred),
    		IsOwner:         owner,
    		Claims:          cred.Claims,
    	}
    
    	if !globalIAMSys.IsAllowed(args) {
    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)
  3. cmd/test-utils_test.go

    	return certOut.Bytes(), keyOut.Bytes(), nil
    }
    
    func mustGetPoolEndpoints(poolIdx int, args ...string) EndpointServerPools {
    	drivesPerSet := len(args)
    	setCount := 1
    	if len(args) >= 16 {
    		drivesPerSet = 16
    		setCount = len(args) / 16
    	}
    	endpoints := mustGetNewEndpoints(poolIdx, drivesPerSet, args...)
    	return []PoolEndpoints{{
    		SetCount:     setCount,
    		DrivesPerSet: drivesPerSet,
    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)
  4. cmd/bucket-handlers.go

    		n := 0
    		// Use the following trick to filter in place
    		// https://github.com/golang/go/wiki/SliceTricks#filter-in-place
    		for _, bucketInfo := range bucketsInfo {
    			if globalIAMSys.IsAllowed(policy.Args{
    				AccountName:     cred.AccessKey,
    				Groups:          cred.Groups,
    				Action:          policy.ListBucketAction,
    				BucketName:      bucketInfo.Name,
    				ConditionValues: getConditionValues(r, "", cred),
    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/erasure-server-pool.go

    func (z *erasureServerPools) PutObject(ctx context.Context, bucket string, object string, data *PutObjReader, opts ObjectOptions) (ObjectInfo, error) {
    	// Validate put object input args.
    	if err := checkPutObjectArgs(ctx, bucket, object); err != nil {
    		return ObjectInfo{}, err
    	}
    
    	object = encodeDirObject(object)
    	if z.SinglePool() {
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    
        /**
         * Retrieves the corresponding [KtUserType] PSI the given [FirResolvedTypeRef].
         *
         * This code handles some quirks of FIR sources and PSI:
         * - in `vararg args: String` declaration, `String` type reference has fake source, but `Array<String>` has real source
         * (see [KtFakeSourceElementKind.ArrayTypeFromVarargParameter]).
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
Back to top