- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for attacks (0.15 sec)
-
cmd/admin-handlers-users.go
return } operation := mux.Vars(r)["operation"] if operation != "attach" && operation != "detach" { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminInvalidArgument), r.URL) return } isAttach := operation == "attach" password := cred.SecretKey reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 12:41:13 GMT 2024 - 77.5K bytes - Viewed (0) -
cmd/sts-handlers_test.go
}) if err != nil { c.Fatalf("export %d: Unable to attach policy: %v", caseNum, err) } } for groupDN, policies := range content.ldapGroupPolicyMappings { _, err := s.adm.AttachPolicyLDAP(ctx, madmin.PolicyAssociationReq{ Policies: policies, Group: groupDN, }) if err != nil { c.Fatalf("export %d: Unable to attach group policy: %v", caseNum, err) } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 85.7K bytes - Viewed (0) -
cmd/iam-store.go
existingPolicySet := mp.policySet() policiesToUpdate := set.CreateStringSet(policies...) var newPolicySet set.StringSet newPolicyMapping := mp if isAttach { // new policies to attach => inputPolicies - existing (set difference) policiesToUpdate = policiesToUpdate.Difference(existingPolicySet) // validate that new policies to add are defined. for _, p := range policiesToUpdate.ToSlice() {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Apr 27 10:04:10 GMT 2024 - 75.2K bytes - Viewed (2)