Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ListCannedPolicies (0.06 seconds)

  1. cmd/admin-handlers-users_test.go

    	// 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]
    	if !ok {
    		c.Fatalf("policy was missing!")
    	}
    
    	// Detach policy1 to set up for policy2
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  2. cmd/sts-handlers_test.go

    		policies:                make(map[string][]byte),
    		ldapUserPolicyMappings:  make(map[string][]string),
    		ldapGroupPolicyMappings: make(map[string][]string),
    	}
    	policyContentMap, err := s.adm.ListCannedPolicies(ctx)
    	if err != nil {
    		c.Fatalf("import %d: Unable to list policies: %v", caseNum, err)
    	}
    	defaultCannedPolicies := set.CreateStringSet("consoleAdmin", "readwrite", "readonly",
    		"diagnostics", "writeonly")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
Back to Top