- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for attach (0.22 sec)
-
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/typed-errors.go
// error returned in IAM subsystem when groups doesn't exist. var errNoSuchGroup = errors.New("Specified group does not exist") // error returned in IAM subsystem when a policy attach/detach request has no // net effect, i.e. it is already applied. var errNoPolicyToAttachOrDetach = errors.New("Specified policy update has no net effect") // error returned in IAM subsystem when a non-empty group needs to be
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.3K bytes - Viewed (0) -
cmd/object-api-utils.go
} } fn = func(inputReader io.Reader, h http.Header, cFns ...func()) (r *GetObjectReader, err error) { if isEncrypted { copySource := h.Get(xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm) != "" // Attach decrypter on inputReader inputReader, err = DecryptBlocksRequestR(inputReader, h, seqNum, firstPart, oi, copySource) if err != nil { // Call the cleanup funcs for i := len(cFns) - 1; i >= 0; i-- {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 11 11:55:34 GMT 2024 - 35.6K bytes - Viewed (1) -
cmd/signature-v4-utils_test.go
} if owner { t.Fatalf("Expected owner to be 'false', found %t", owner) } _, err = globalIAMSys.PolicyDBSet(ctx, ucreds.AccessKey, "consoleAdmin", regUser, false) if err != nil { t.Fatalf("unable to attach policy to credential, %s", err) } time.Sleep(4 * time.Second) policies, err := globalIAMSys.PolicyDBGet(ucreds.AccessKey) if err != nil { t.Fatalf("unable to get policy to credential, %s", err) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 14.3K bytes - Viewed (0) -
cmd/admin-router.go
HandlerFunc(adminMiddleware(adminAPI.SetPolicyForUserOrGroup)). Queries("policyName", "{policyName:.*}", "userOrGroup", "{userOrGroup:.*}", "isGroup", "{isGroup:true|false}") // Attach/Detach policies to/from user or group adminRouter.Methods(http.MethodPost).Path(adminVersion + "/idp/builtin/policy/{operation}").HandlerFunc(adminMiddleware(adminAPI.AttachDetachPolicyBuiltin)) // Remove user IAM
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 10 21:09:36 GMT 2024 - 25.5K bytes - Viewed (0) -
cmd/iam.go
iamLogIf(ctx, err) return } if dn == "" { // Still attempt to detach if provided user is a DN. if !isAttach && sys.LDAPConfig.IsLDAPUserDN(r.User) { dn = r.User } else { err = errNoSuchUser return } } isGroup = false } else { if isAttach { var foundGroupDN string var underBaseDN bool
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:28:16 GMT 2024 - 71.1K bytes - Viewed (1) -
cmd/api-errors.go
HTTPStatusCode: http.StatusNotFound, }, ErrPolicyAlreadyAttached: { Code: "XMinioPolicyAlreadyAttached", Description: "The specified policy is already attached.", HTTPStatusCode: http.StatusConflict, }, ErrPolicyNotAttached: { Code: "XMinioPolicyNotAttached", Description: "The specified policy is not found.",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 91.4K bytes - Viewed (6) -
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.
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) -
cmd/admin-handlers-idp-ldap.go
return } // Validate operation operation := mux.Vars(r)["operation"] if operation != "attach" && operation != "detach" { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminInvalidArgument), r.URL) return } isAttach := operation == "attach" // Validate API arguments in body. password := cred.SecretKey
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 13.3K bytes - Viewed (0) -
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)