Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewPolicySys (0.17 sec)

  1. cmd/bucket-policy.go

    	}
    
    	// As policy is not available for given bucket name, returns IsOwner i.e.
    	// operation is allowed only for owner.
    	return args.IsOwner
    }
    
    // NewPolicySys - creates new policy system.
    func NewPolicySys() *PolicySys {
    	return &PolicySys{}
    }
    
    func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	m := make(map[string][]string)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    	erasureDirs, err := getRandomDisks(16)
    	if err != nil {
    		return nil, nil, err
    	}
    	endpoints := mustGetPoolEndpoints(0, erasureDirs...)
    	globalPolicySys = NewPolicySys()
    	objLayer, err := newErasureServerPools(ctx, endpoints)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	// Make objLayer available to all internal services via globalObjectAPI.
    	globalObjLayerMutex.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. cmd/server-main.go

    	// Create a new config system.
    	globalConfigSys = NewConfigSys()
    
    	// Create new IAM system.
    	globalIAMSys = NewIAMSys()
    
    	// Create new policy system.
    	globalPolicySys = NewPolicySys()
    
    	// Create new lifecycle system.
    	globalLifecycleSys = NewLifecycleSys()
    
    	// Create new bucket encryption subsystem
    	globalBucketSSEConfigSys = NewBucketSSEConfigSys()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  4. cmd/object-handlers_test.go

    	ExecObjectLayerAPINilTest(t, nilBucket, nilObject, instanceType, apiRouter, nilReq)
    }
    
    func TestAPIHeadObjectHandlerWithEncryption(t *testing.T) {
    	globalPolicySys = NewPolicySys()
    	defer func() { globalPolicySys = nil }()
    
    	defer DetectTestLeak(t)()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top