Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for permitRootAccess (0.11 sec)

  1. cmd/handler-api.go

    	defer t.mu.RUnlock()
    
    	return t.enableODirect
    }
    
    func (t *apiConfig) shouldGzipObjects() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.gzipObjects
    }
    
    func (t *apiConfig) permitRootAccess() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.rootAccess
    }
    
    func (t *apiConfig) getListQuorum() string {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.listQuorum == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/config-current.go

    // a KMS is configured, no manual credentials have been specified and if root
    // access is disabled.
    func autoGenerateRootCredentials() {
    	if GlobalKMS == nil {
    		return
    	}
    	if globalAPIConfig.permitRootAccess() || !globalActiveCred.Equal(auth.DefaultCredentials) {
    		return
    	}
    
    	aKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root access key")})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	defer cancel()
    
    	objectAPI, creds := validateAdminReq(ctx, w, r, policy.HealthInfoAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if !globalAPIConfig.permitRootAccess() {
    		rd, wr := isAllowedRWAccess(r, creds, globalObjectPerfBucket)
    		if !rd || !wr {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, AdminError{
    				Code: "XMinioSpeedtestInsufficientPermissions",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top