- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ListCannedPolicies (0.18 sec)
-
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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 47.3K bytes - Viewed (0) -
cmd/admin-router.go
adminRouter.Methods(http.MethodGet).Path(adminVersion + "/list-canned-policies").HandlerFunc(adminMiddleware(adminAPI.ListCannedPolicies)) // Builtin IAM policy associations adminRouter.Methods(http.MethodGet).Path(adminVersion + "/idp/builtin/policy-entities").HandlerFunc(adminMiddleware(adminAPI.ListPolicyMappingEntities))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 21 11:35:40 UTC 2024 - 26.2K bytes - Viewed (0) -
cmd/admin-handlers-users.go
} if err = json.NewEncoder(w).Encode(newPolicies); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } } // ListCannedPolicies - GET /minio/admin/v3/list-canned-policies func (a adminAPIHandlers) ListCannedPolicies(w http.ResponseWriter, r *http.Request) { ctx := r.Context() objectAPI, _ := validateAdminReq(ctx, w, r, policy.ListUserPoliciesAdminAction) if objectAPI == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0) -
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")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0)