- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for errNoSuchUser (0.09 sec)
-
cmd/iam-store.go
if !ok { return u, errNoSuchUser } } return madmin.UserInfo{ PolicyName: mappedPolicy.Policies, MemberOf: groups, UpdatedAt: mappedPolicy.UpdatedAt, }, nil } ui, found := cache.iamUsersMap[name] if !found { return u, errNoSuchUser } cred := ui.Credentials
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0) -
cmd/iam.go
func (sys *IAMSys) IsTempUser(name string) (bool, string, error) { if !sys.Initialized() { return false, "", errServerNotInitialized } u, found := sys.store.GetUser(name) if !found { return false, "", errNoSuchUser } cred := u.Credentials if cred.IsTemp() { return true, cred.ParentUser, nil } return false, "", nil } // IsServiceAccount - returns if given key is a service account
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
cmd/admin-handlers-users.go
} // Reject if the group add and remove are temporary credentials, or root credential. for _, member := range updReq.Members { ok, _, err := globalIAMSys.IsTempUser(member) if err != nil && err != errNoSuchUser { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } if ok { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL) return }
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/api-errors.go
// Unwrap the error first err = unwrapAll(err) switch err { case errInvalidArgument: apiErr = ErrAdminInvalidArgument case errNoSuchPolicy: apiErr = ErrAdminNoSuchPolicy case errNoSuchUser: apiErr = ErrAdminNoSuchUser case errNoSuchUserLDAPWarn: apiErr = ErrAdminNoSuchUserLDAPWarn case errNoSuchServiceAccount: apiErr = ErrAdminServiceAccountNotFound case errNoSuchGroup:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 92.1K bytes - Viewed (0)