- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PolicyDBGet (0.04 sec)
-
cmd/iam.go
} // PolicyDBGet - gets policy set on a user or group. If a list of groups is // given, policies associated with them are included as well. func (sys *IAMSys) PolicyDBGet(name string, groups ...string) ([]string, error) { if !sys.Initialized() { return nil, errServerNotInitialized } return sys.store.PolicyDBGet(name, groups...) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 15 17:00:45 UTC 2025 - 76.5K bytes - Viewed (0) -
cmd/iam-store.go
cache.removeGroupFromMembershipsMap(group) cache.updateGroupMembershipsMap(group, &gi) cache.updatedAt = time.Now() return nil } // PolicyDBGet - fetches policies associated with the given user or group, and // additional groups if provided. func (store *IAMStoreSys) PolicyDBGet(name string, groups ...string) ([]string, error) { if name == "" { return nil, errInvalidArgument } cache := store.rlock()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 87.1K bytes - Viewed (0) -
cmd/admin-handlers-users.go
return } var stsAccountPolicy policy.Policy if sessionPolicy != nil { stsAccountPolicy = *sessionPolicy } else { policiesNames, err := globalIAMSys.PolicyDBGet(stsAccount.ParentUser, stsAccount.Groups...) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } if len(policiesNames) == 0 {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0)