Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 517 for validar (0.11 sec)

  1. cmd/acl-handlers.go

    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Before proceeding validate if bucket exists.
    	_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	aclHeader := r.Header.Get(xhttp.AmzACL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. architecture/environments/operator.md

    table of validation rules in
    [pkg/validate/validate.go](pkg/validate/validate.go). These rules
    refer to the Go struct path schema and hence have names with a capitalized first letter.
    The Helm values.yaml API is validated in
    [validate_values.go](pkg/validate/validate_values.go)
    and refer to the values.yaml data paths. Hence, these rules have names with a lower case first letter.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final ListForm form) {
            saveToken();
            validate(form, messages -> {}, () -> asHtml(path_AdminError_AdminErrorJsp));
            return asListHtml();
        }
    
        protected HtmlResponse doSearch(final ListForm form) {
            validate(form, messages -> {}, this::asListHtml);
    
            if (StringUtil.isBlank(form.q)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. cmd/batch-replicate.go

    // Empty indicates if credentials are not set
    func (c BatchJobReplicateCredentials) Empty() bool {
    	return c.AccessKey == "" && c.SecretKey == "" && c.SessionToken == ""
    }
    
    // Validate validates if credentials are valid
    func (c BatchJobReplicateCredentials) Validate() error {
    	if !auth.IsAccessKeyValid(c.AccessKey) || !auth.IsSecretKeyValid(c.SecretKey) {
    		return errInvalidArgument
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/using-request-directly.md

    Embora qualquer outro parâmetro declarado normalmente (o corpo da requisição com um modelo Pydantic, por exemplo) ainda seria validado, convertido, anotado, etc.
    
    Mas há situações específicas onde é útil utilizar o objeto `Request`.
    
    ## Utilize o objeto `Request` diretamente
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

                    });
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            accessTokenService.getAccessToken(id).ifPresent(entity -> {
                copyBeanToBean(entity, form,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

            }).renderWith(data -> {
                registerRoleTypeItems(data);
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            labelTypeService.getLabelType(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

            }).renderWith(data -> {
                registerRolesAndLabels(data);
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
            final String id = form.id;
            fileConfigService.getFileConfig(id).ifPresent(entity -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                    });
                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            webConfigService.getWebConfig(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle.go

    	}
    	return &lc, nil
    }
    
    // Validate - validates the lifecycle configuration
    func (lc Lifecycle) Validate(lr lock.Retention) error {
    	// Lifecycle config can't have more than 1000 rules
    	if len(lc.Rules) > 1000 {
    		return errLifecycleTooManyRules
    	}
    	// Lifecycle config should have at least one rule
    	if len(lc.Rules) == 0 {
    		return errLifecycleNoRule
    	}
    
    	// Validate all the rules in the lifecycle config
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top