Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for wspolicy (0.47 sec)

  1. cmd/object-handlers.go

    		s3Error = checkRequestAuthType(ctx, r, policy.GetObjectVersionAttributesAction, bucket, object)
    		if s3Error == ErrNone {
    			s3Error = checkRequestAuthType(ctx, r, policy.GetObjectVersionAction, bucket, object)
    		}
    	} else {
    		s3Error = checkRequestAuthType(ctx, r, policy.GetObjectAttributesAction, bucket, object)
    		if s3Error == ErrNone {
    			s3Error = checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, object)
    		}
    	}
    
    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)
  2. cmd/api-errors.go

    	},
    	ErrAdminNoSuchPolicy: {
    		Code:           "XMinioAdminNoSuchPolicy",
    		Description:    "The canned policy does not exist.",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrAdminPolicyChangeAlreadyApplied: {
    		Code:           "XMinioAdminPolicyChangeAlreadyApplied",
    		Description:    "The specified policy change is already in effect.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    
    	ErrAdminInvalidArgument: {
    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/data-scanner_test.go

    	if err != nil {
    		t.Fatalf("Failed to parse deleteAllILM test ILM policy %v", err)
    	}
    	delMarkerLc, err := lifecycle.ParseLifecycleConfig(strings.NewReader(delMarkerILM))
    	if err != nil {
    		t.Fatalf("Failed to parse delMarkerILM test ILM policy %v", err)
    	}
    	tests := []struct {
    		ilm       lifecycle.Lifecycle
    		retention lock.Retention
    		obj       ObjectInfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    	return fmt.Sprintf("Invalid combination of uploadID marker '%s' and marker '%s'", e.UploadIDMarker, e.KeyMarker)
    }
    
    // BucketPolicyNotFound - no bucket policy found.
    type BucketPolicyNotFound GenericError
    
    func (e BucketPolicyNotFound) Error() string {
    	return "No bucket policy configuration found for bucket: " + e.Bucket
    }
    
    // BucketLifecycleNotFound - no bucket lifecycle found.
    type BucketLifecycleNotFound GenericError
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    	}
    
    	var lc *lifecycle.Lifecycle
    	var rcfg lock.Retention
    	var replcfg *replication.Config
    	if opts.Expiration.Expire {
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bucket)
    		if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bucket}) {
    			return objInfo, err
    		}
    		rcfg, err = globalBucketObjectLockSys.Get(bucket)
    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/site-replication.go

    	},
    		replicateIAMItem,
    	)
    	return errors.Unwrap(cerr)
    }
    
    // PeerAddPolicyHandler - copies IAM policy to local. A nil policy argument,
    // causes the named policy to be deleted.
    func (c *SiteReplicationSys) PeerAddPolicyHandler(ctx context.Context, policyName string, p *policy.Policy, updatedAt time.Time) error {
    	var err error
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/admin-bucket-handlers.go

    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			bucketPolicy, err := policy.ParseBucketPolicyConfig(bytes.NewReader(bucketPolicyBytes), bucket)
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			// Version in policy must not be empty
    			if bucketPolicy.Version == "" {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf(ErrPolicyInvalidVersion.String()))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. cmd/config-current.go

    	"github.com/minio/minio/internal/config/ilm"
    	"github.com/minio/minio/internal/config/lambda"
    	"github.com/minio/minio/internal/config/notify"
    	"github.com/minio/minio/internal/config/policy/opa"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/scanner"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/config/subnet"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. cmd/common-main.go

    	// This section sets Browser (console) stored config
    	if valueSCP := globalBrowserConfig.GetCSPolicy(); valueSCP != "" {
    		os.Setenv("CONSOLE_SECURE_CONTENT_SECURITY_POLICY", valueSCP)
    	}
    
    	if hstsSeconds := globalBrowserConfig.GetHSTSSeconds(); hstsSeconds > 0 {
    		isubdom := globalBrowserConfig.IsHSTSIncludeSubdomains()
    		isprel := globalBrowserConfig.IsHSTSPreload()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  10. cmd/erasure-server-pool-decom.go

    	var rcfg *replication.Config
    	if bi.Name != minioMetaBucket {
    		vc, err = globalBucketVersioningSys.Get(bi.Name)
    		if err != nil {
    			return err
    		}
    
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bi.Name)
    		if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bi.Name}) {
    			return err
    		}
    
    		// Check if bucket is object locked.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
Back to top