- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ListPolicies (0.15 sec)
-
cmd/iam.go
CreateDate: d.CreateDate, UpdateDate: d.UpdateDate, }, nil } // ListPolicies - lists all canned policies. func (sys *IAMSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) { if !sys.Initialized() { return nil, errServerNotInitialized } return sys.store.ListPolicies(ctx, bucketName) } // ListPolicyDocs - lists all canned policy docs.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0) -
cmd/admin-handlers-users.go
objectAPI, _ := validateAdminReq(ctx, w, r, policy.ListUserPoliciesAdminAction) if objectAPI == nil { return } bucket := mux.Vars(r)["bucket"] policies, err := globalIAMSys.ListPolicies(ctx, bucket) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } newPolicies := make(map[string]policy.Policy) for name, p := range policies {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
cmd/iam-store.go
} cache.iamPolicyDocsMap[name] = d cache.updatedAt = time.Now() return d.UpdateDate, nil } // ListPolicies - fetches all policies from storage and updates cache as well. // If bucketName is non-empty, returns policies matching the bucket. func (store *IAMStoreSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) { cache := store.lock() defer store.unlock()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0)