- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ListCannedPolicies (0.36 sec)
-
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)