- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PolicyDBSet (0.05 sec)
-
cmd/iam.go
return sys.store.ListGroups(ctx) case <-ctx.Done(): return nil, ctx.Err() } } // PolicyDBSet - sets a policy for a user or group in the PolicyDB. This does // not validate if the user/group exists - that is the responsibility of the // caller. func (sys *IAMSys) PolicyDBSet(ctx context.Context, name, policy string, userType IAMUserType, isGroup bool) (updatedAt time.Time, err error) { if !sys.Initialized() {
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
} entityName = foundUserDN.NormDN } if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } } updatedAt, err := globalIAMSys.PolicyDBSet(ctx, entityName, policyName, userType, isGroup) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), 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/iam-store.go
} // PolicyDBSet - update the policy mapping for the given user or group in // storage and in cache. We do not check for the existence of the user here // since users can be virtual, such as for: // - LDAP users // - CommonName for STS accounts generated by AssumeRoleWithCertificate
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0)