Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newStatus (0.1 sec)

  1. cmd/admin-handlers-users_test.go

    	c.mustListObjects(ctx, svcClient2, bucket)
    
    	// update status to disabled
    	err = madmClient.UpdateServiceAccount(ctx, svcAK, madmin.UpdateServiceAccountReq{
    		NewStatus: "off",
    	})
    	if err != nil {
    		c.Fatalf("unable to update secret key for svc acc: %v", err)
    	}
    	c.mustNotListObjects(ctx, svcClient2, bucket)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    			return
    		}
    		if sp.Version == "" && len(sp.Statements) == 0 {
    			sp = nil
    		}
    	}
    	opts := updateServiceAccountOpts{
    		secretKey:     updateReq.NewSecretKey,
    		status:        updateReq.NewStatus,
    		name:          updateReq.NewName,
    		description:   updateReq.NewDescription,
    		expiration:    updateReq.NewExpiration,
    		sessionPolicy: sp,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top