Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustNotCreateSvcAccount (0.1 sec)

  1. cmd/admin-handlers-users_test.go

    		c.Fatalf("unable to attach policy: %v", err)
    	}
    
    	admClnt := s.getAdminClient(c, accessKey, secretKey, "")
    
    	// 3.3 check user does not have explicit permissions to create service account.
    	c.mustNotCreateSvcAccount(ctx, accessKey, admClnt)
    
    	// 4. Verify the policy appears in listing
    	ps, err := s.adm.ListCannedPolicies(ctx)
    	if err != nil {
    		c.Fatalf("policy list err: %v", err)
    	}
    	_, ok := ps[policy1]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top