Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getUser (0.23 sec)

  1. cmd/signature-v4-utils.go

    			// to retry with 503 errors when server is coming up.
    			return auth.Credentials{}, false, ErrServerNotInitialized
    		}
    
    		// Check if the access key is part of users credentials.
    		u, ok := globalIAMSys.GetUser(r.Context(), accessKey)
    		if !ok {
    			// Credentials could be valid but disabled - return a different
    			// error in such a scenario.
    			if u.Credentials.Status == auth.AccountOff {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. cmd/jwt.go

    	}
    	claims := xjwt.NewMapClaims()
    	if err := xjwt.ParseWithClaims(token, claims, func(claims *xjwt.MapClaims) ([]byte, error) {
    		if claims.AccessKey != globalActiveCred.AccessKey {
    			u, ok := globalIAMSys.GetUser(req.Context(), claims.AccessKey)
    			if !ok {
    				// Credentials will be invalid but for disabled
    				// return a different error in such a scenario.
    				if u.Credentials.Status == auth.AccountOff {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. docs/multi-user/admin/README.md

    #### Config management permissions
    
    - admin:ConfigUpdate
    
    #### User management permissions
    
    - admin:CreateUser
    - admin:DeleteUser
    - admin:ListUsers
    - admin:EnableUser
    - admin:DisableUser
    - admin:GetUser
    
    #### Service management permissions
    
    - admin:ServerInfo
    - admin:ServerUpdate
    - admin:StorageInfo
    - admin:DataUsageInfo
    - admin:TopLocks
    - admin:OBDInfo
    - admin:Profiling,
    - admin:ServerTrace
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users-race_test.go

    	}
    
    	userCount := 50
    	accessKeys := make([]string, userCount)
    	secretKeys := make([]string, userCount)
    	for i := 0; i < userCount; i++ {
    		accessKey, secretKey := mustGenerateCredentials(c)
    		err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    		if err != nil {
    			c.Fatalf("Unable to set user: %v", err)
    		}
    
    		err = s.adm.SetPolicy(ctx, policy, accessKey, false)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top