Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for consoleAdmin (1.09 sec)

  1. cmd/signature-v4-utils_test.go

    		t.Fatalf("unable to get policy to credential, %s", err)
    	}
    
    	if len(policies) == 0 {
    		t.Fatal("no policies found")
    	}
    
    	if policies[0] != "consoleAdmin" {
    		t.Fatalf("expected 'consoleAdmin', %s", policies[0])
    	}
    }
    
    // TestSkipContentSha256Cksum - Test validate the logic which decides whether
    // to skip checksum validation based on the request header.
    func TestSkipContentSha256Cksum(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

            "version": 0,
            "policy": "consoleAdmin",
            "updatedAt": "2024-04-17T23:54:28.442998301Z"
        },
        "mygroup": {
            "version": 0,
            "policy": "consoleAdmin",
            "updatedAt": "2024-04-23T21:34:43.66922872Z"
        },
        "cn=project.c,ou=groups,OU=swengg,DC=min,DC=io": {
            "version": 0,
            "policy": "consoleAdmin",
            "updatedAt": "2024-04-17T20:54:28.442998301Z"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("unexpected new request err: %v", err)
    	}
    	reqBodyArg := madmin.UserInfo{
    		SecretKey:  secretKey,
    		PolicyName: "consoleAdmin",
    		Status:     madmin.AccountEnabled,
    	}
    	buf, err := json.Marshal(reqBodyArg)
    	if err != nil {
    		c.Fatalf("unexpected json encode err: %v", err)
    	}
    	buf, err = madmin.EncryptData(secretKey, buf)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users.go

    	var effectivePolicy policy.Policy
    
    	var buf []byte
    	switch {
    	case accountName == globalActiveCred.AccessKey:
    		for _, policy := range policy.DefaultPolicies {
    			if policy.Name == "consoleAdmin" {
    				effectivePolicy = policy.Definition
    				break
    			}
    		}
    
    	case roleArn != "":
    		_, policy, err := globalIAMSys.GetRolePolicy(roleArn)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top