Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 346 for Action (0.28 sec)

  1. docs/iam/access-manager-plugin.go

    	actionValue := m["action"].(string)
    
    	// Allow user `minio` to perform any action.
    	var res Result
    	if accountValue == "minio" {
    		res.Result = true
    	} else {
    		// All other users may not perform any `s3:Put*` operations.
    		res.Result = true
    		if strings.HasPrefix(actionValue, "s3:Put") {
    			res.Result = false
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. cmd/metacache-server-pool.go

    		if o.Lifecycle != nil {
    			evt := evalActionFromLifecycle(ctx, *o.Lifecycle, o.Retention, o.Replication.Config, objInfo)
    			if evt.Action.Delete() {
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_s3ListObjects)
    				if !evt.Action.DeleteRestored() {
    					continue
    				} // queue version for replication upon expired restored copies if needed.
    			}
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	policy = fmt.Sprintf(policy, dates...)
    
    	region := "us-east-1"
    	// Create a new POST request with success_action_redirect field specified
    	req, perr := newPostRequestV4Generic("", bucketName, keyName, []byte("objData"),
    		credentials.AccessKey, credentials.SecretKey, region, curTime,
    		[]byte(policy), map[string]string{"success_action_redirect": redirectURL.String()}, false, false, false)
    
    	if perr != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    func checkAdminRequestAuth(ctx context.Context, r *http.Request, action policy.AdminAction, region string) (auth.Credentials, APIErrorCode) {
    	cred, owner, s3Err := validateAdminSignature(ctx, r, region)
    	if s3Err != ErrNone {
    		return cred, s3Err
    	}
    	if globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.Action(action),
    		ConditionValues: getConditionValues(r, "", cred),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/policies.go

    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tPOLICY NAME\tACTION\tSCOPE")
    
    	for _, pol := range pols {
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    			pol.Namespace, pol.Name, pol.Action, pol.Scope)
    	}
    	return w.Flush()
    }
    
    // PrintPolicyDump prints the relevant services in the config dump to the ConfigWriter stdout
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. cmd/sts-errors.go

    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrSTSMissingParameter: {
    		Code:           "MissingParameter",
    		Description:    "A required parameter for the specified action is not supplied.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSInvalidParameterValue: {
    		Code:           "InvalidParameterValue",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    		Versioned:  globalBucketVersioningSys.PrefixEnabled(oi.Bucket, oi.Name),
    		Expiration: ExpirationOptions{Expire: true},
    	}
    	if lcEvent.Action.DeleteVersioned() {
    		opts.VersionID = oi.VersionID
    	}
    	tags := newLifecycleAuditEvent(src, lcEvent).Tags()
    	if lcEvent.Action.DeleteRestored() {
    		// delete locally restored copy of object or object version
    		// from the source, while leaving metadata behind. The data on
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    			evt := evalActionFromLifecycle(ctx, *lc, lr, rcfg, objInfo)
    			switch {
    			case evt.Action.DeleteRestored(): // if restored copy has expired, delete it synchronously
    				applyExpiryOnTransitionedObject(ctx, z, objInfo, evt, lcEventSrc_Decom)
    				return false
    			case evt.Action.Delete():
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_Decom)
    				return true
    			default:
    				return false
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  9. istioctl/pkg/wait/wait_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			fc := k.Dynamic().(*dynamicfake.FakeDynamicClient)
    			fc.PrependWatchReactor("*", func(action clienttesting.Action) (handled bool, ret watch.Interface, err error) {
    				gvr := action.GetResource()
    				ns := action.GetNamespace()
    				watch, err := fc.Tracker().Watch(gvr, ns)
    				if err != nil {
    					return false, nil, err
    				}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    	exportContentStrings := map[string]string{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top