Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AccountInfo (0.18 sec)

  1. cmd/admin-handlers-users.go

    	}
    
    	buf, err = json.MarshalIndent(effectivePolicy, "", " ")
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	acctInfo := madmin.AccountInfo{
    		AccountName: accountName,
    		Server:      objectAPI.BackendInfo(),
    		Policy:      buf,
    	}
    
    	for _, bucket := range buckets {
    		rd, wr := isAllowedAccess(bucket.Name)
    		if rd || wr {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	}
    	userAdmClient.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    
    	time.Sleep(2 * time.Second) // wait for listbuckets cache to be invalidated
    
    	accInfo, err := userAdmClient.AccountInfo(ctx, madmin.AccountOpts{})
    	if err != nil {
    		c.Fatalf("root user STS should be able to get account info: %v", err)
    	}
    
    	gotBuckets := set.NewStringSet()
    	for _, b := range accInfo.Buckets {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
Back to top