Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 83 for users (0.22 sec)

  1. internal/config/identity/openid/provider/provider.go

    	ClaimsSupported                  []string `json:"claims_supported,omitempty"`
    	CodeChallengeMethodsSupported    []string `json:"code_challenge_methods_supported,omitempty"`
    }
    
    // User represents information about user.
    type User struct {
    	Name    string `json:"username"`
    	ID      string `json:"id"`
    	Enabled bool   `json:"enabled"`
    }
    
    // Standard errors.
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. tests/helper_test.go

    	}
    }
    
    func CheckUserUnscoped(t *testing.T, user User, expect User) {
    	doCheckUser(t, user, expect, true)
    }
    
    func CheckUser(t *testing.T, user User, expect User) {
    	doCheckUser(t, user, expect, false)
    }
    
    func doCheckUser(t *testing.T, user User, expect User, unscoped bool) {
    	if user.ID != 0 {
    		var newUser User
    		if err := db(unscoped).Where("id = ?", user.ID).First(&newUser).Error; err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. internal/disk/directio_unsupported.go

    // so there is no risk of polluting the entire cache with data accessed once.
    // Another goal of DirectIO is to minimize the mutation of data by the kernel
    // before issuing IO to underlying devices. ZFS users often enable features like
    // compression and checksumming which currently necessitates mutating data in
    // the kernel.
    //
    // DirectIO semantics for a filesystem like ZFS would be quite different than
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-utils.go

    	}
    	versionID = fi.VersionID
    	if versionID == "" {
    		versionID = nullVersionID
    	}
    	fi.Data = inData.find(versionID)
    	if len(fi.Data) == 0 {
    		// PR #11758 used DataDir, preserve it
    		// for users who might have used master
    		// branch
    		fi.Data = inData.find(fi.DataDir)
    	}
    	return fi, nil
    }
    
    // hashDeterministicString will return a deterministic hash for the map values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. cmd/admin-handlers-site-replication.go

    	q := r.Form
    	opts.Buckets = q.Get("buckets") == "true"
    	opts.Policies = q.Get("policies") == "true"
    	opts.Groups = q.Get("groups") == "true"
    	opts.Users = q.Get("users") == "true"
    	opts.ILMExpiryRules = q.Get("ilm-expiry-rules") == "true"
    	opts.PeerState = q.Get("peer-state") == "true"
    	opts.Entity = madmin.GetSREntityType(q.Get("entity"))
    	opts.EntityValue = q.Get("entityvalue")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    	},
    	ErrAdminNoSuchUser: {
    		Code:           "XMinioAdminNoSuchUser",
    		Description:    "The specified user does not exist.",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrAdminNoSuchUserLDAPWarn: {
    		Code:           "XMinioAdminNoSuchUser",
    		Description:    "The specified user does not exist. If you meant a user in LDAP, use `mc idp ldap`",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrAdminNoSuchGroup: {
    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)
  7. internal/bucket/object/lock/lock.go

    	err := d.DecodeElement(&dateStr, &startElement)
    	if err != nil {
    		return err
    	}
    	// While AWS documentation mentions that the date specified
    	// must be present in ISO 8601 format, in reality they allow
    	// users to provide RFC 3339 compliant dates.
    	retDate, err := amztime.ISO8601Parse(dateStr)
    	if err != nil {
    		return ErrInvalidRetentionDate
    	}
    
    	*rDate = RetentionDate{retDate}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    		})
    		if err != nil {
    			return nil, err
    		}
    
    		if deploymentID == "" {
    			// all pools should have same deployment ID
    			deploymentID = formats[i].ID
    		}
    
    		// Validate if users brought different DeploymentID pools.
    		if deploymentID != formats[i].ID {
    			return nil, fmt.Errorf("all pools must have same deployment ID - expected %s, got %s for pool(%s)", deploymentID, formats[i].ID, humanize.Ordinal(i+1))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. tests/prepared_stmt_test.go

    	defer cancel()
    	txCtx := tx.WithContext(ctx)
    
    	user := *GetUser("prepared_stmt", Config{})
    
    	txCtx.Create(&user)
    
    	var result1 User
    	if err := txCtx.Find(&result1, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	time.Sleep(time.Second)
    
    	var result2 User
    	if err := tx.Find(&result2, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 07:55:43 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. cmd/warm-backend-gcs.go

    	}
    
    	if len(googleAPIErr.Errors) == 0 {
    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    		err = PrefixAccessDenied{
    			Bucket: bucket,
    			Object: object,
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top