Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for Gwener (0.17 sec)

  1. cmd/local-locker_test.go

    	l := newLocker()
    	ctx := context.Background()
    	for i := range wResources {
    		arg := dsync.LockArgs{
    			UID:       mustGetUUID(),
    			Resources: []string{mustGetUUID()},
    			Source:    t.Name(),
    			Owner:     "owner",
    			Quorum:    0,
    		}
    		ok, err := l.Lock(ctx, arg)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    		wResources[i] = arg.Resources[0]
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  2. cmd/jwt.go

    		}
    
    		// Now check if we have a sessionPolicy.
    		if _, ok = eclaims[policy.SessionPolicyName]; ok {
    			owner = false
    		} else {
    			owner = globalActiveCred.AccessKey == ucred.ParentUser
    		}
    
    		groups = ucred.Groups
    	}
    
    	return claims, groups, owner, nil
    }
    
    // newCachedAuthToken returns a token that is cached up to 15 seconds.
    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. cmd/api-resources_test.go

    				"prefix":             []string{"photos/"},
    				"continuation-token": []string{"dG9rZW4="},
    				"start-after":        []string{"start-after"},
    				"delimiter":          []string{SlashSeparator},
    				"fetch-owner":        []string{"true"},
    				"max-keys":           []string{"100"},
    				"encoding-type":      []string{"gzip"},
    			},
    			prefix:       "photos/",
    			token:        "token",
    			startAfter:   "start-after",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    		return
    	}
    
    	// Check if anonymous (non-owner) has access to list objects.
    	readable := globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    		Action:          policy.ListBucketAction,
    		BucketName:      bucket,
    		ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials),
    		IsOwner:         false,
    	})
    
    	// Check if anonymous (non-owner) has access to upload objects.
    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