Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for amount (0.21 sec)

  1. cmd/peer-rest-server.go

    	if accessKey == "" {
    		return np, grid.NewRemoteErr(errors.New("service account name is missing"))
    	}
    
    	if err := globalIAMSys.DeleteServiceAccount(context.Background(), accessKey, false); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    // LoadServiceAccountHandler - reloads a service account on the server.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    }
    
    // AddServiceAccount - add a new service account
    func (store *IAMStoreSys) AddServiceAccount(ctx context.Context, cred auth.Credentials) (updatedAt time.Time, err error) {
    	cache := store.lock()
    	defer store.unlock()
    
    	accessKey := cred.AccessKey
    	parentUser := cred.ParentUser
    
    	// Found newly requested service account, to be an existing account -
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/iam.go

    	// service account should inherit parent policy.
    	//
    	// However, for a policy like `{"Statement":[]}`, the intention is to not
    	// provide any permissions via the session policy - i.e. the service account
    	// can do nothing (such a JSON could be generated by an external application
    	// as the policy for the service account). Inheriting the parent policy in
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/sts-handlers_test.go

    		// ignored because the plugin allows it.
    		c.mustListObjects(ctx, svcClient, bucket)
    	}
    
    	// 4. Check that service account's secret key and account status can be
    	// updated.
    	c.assertSvcAccSecretKeyAndStatusUpdate(ctx, s, userAdmClient, value.AccessKeyID, bucket)
    
    	// 5. Check that service account can be deleted.
    	c.assertSvcAccDeletion(ctx, s, userAdmClient, value.AccessKeyID, bucket)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    	},
    	ErrAccountNotEligible: {
    		Code:           "XMinioInvalidIAMCredentials",
    		Description:    "The account key is not eligible for this operation",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAdminServiceAccountNotFound: {
    		Code:           "XMinioInvalidIAMCredentials",
    		Description:    "The specified service account is not found",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrPostPolicyConditionInvalidFormat: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. tests/migrate_test.go

    	if err := DB.Migrator().CreateView("users_pets", gorm.ViewOption{Query: query}); err != nil {
    		t.Fatalf("Failed to crate view, got %v", err)
    	}
    
    	var count int64
    	if err := DB.Table("users_pets").Count(&count).Error; err != nil {
    		t.Fatalf("should found created view")
    	}
    
    	if err := DB.Migrator().DropView("users_pets"); err != nil {
    		t.Fatalf("Failed to drop view, got %v", err)
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	}
    
    	if globalIAMSys.GetUsersSysType() == MinIOUsersSysType && targetUser != cred.AccessKey {
    		// For internal IDP, ensure that the targetUser's parent account exists.
    		// It could be a regular user account or the root account.
    		_, isRegularUser := globalIAMSys.GetUser(ctx, targetUser)
    		if !isRegularUser && targetUser != globalActiveCred.AccessKey {
    			apiErr := toAdminAPIErr(ctx, errNoSuchUser)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. tests/query_test.go

    	}
    
    	if totalBatch != 6 {
    		t.Errorf("incorrect total batch, expects: %v, got %v", 6, totalBatch)
    	}
    
    	var count int64
    	DB.Model(&User{}).Where("name = ?", "find_in_batches_new").Count(&count)
    	if count != 6 {
    		t.Errorf("incorrect count after update, expects: %v, got %v", 6, count)
    	}
    }
    
    func TestFindInBatchesWithOffsetLimit(t *testing.T) {
    	users := []User{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// check if client is attempting to create more buckets, complain about it.
    	if currBuckets := globalBucketMetadataSys.Count(); currBuckets+1 > maxBuckets {
    		internalLogIf(ctx, fmt.Errorf("Please avoid creating more buckets %d beyond recommended %d", currBuckets+1, maxBuckets), logger.WarningKind)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top