Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for authZLogIf (0.93 sec)

  1. cmd/logging.go

    	logger.LogIf(ctx, "admin", err, errKind...)
    }
    
    func authNLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "authN", err, errKind...)
    }
    
    func authZLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "authZ", err, errKind...)
    }
    
    func peersLogIf(ctx context.Context, err error, errKind ...any) {
    	if !errors.Is(err, grid.ErrDisconnected) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    	if action == policy.CreateBucketAction {
    		// To extract region from XML in request body, get copy of request body.
    		payload, err := io.ReadAll(io.LimitReader(r.Body, maxLocationConstraintSize))
    		if err != nil {
    			authZLogIf(ctx, err, logger.ErrorKind)
    			return ErrMalformedXML
    		}
    
    		// Populate payload to extract location constraint.
    		r.Body = io.NopCloser(bytes.NewReader(payload))
    		region, s3Err = parseLocationConstraint(r)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. cmd/iam.go

    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)
    		}
    		return ok
    	}
    
    	// Policies don't apply to the owner.
    	if args.IsOwner {
    		return true
    	}
    
    	// If the credential is temporary, perform STS related checks.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
Back to top