Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 283 for detach (0.1 sec)

  1. docs/site-replication/run-multi-site-minio-idp.sh

    fi
    
    # create a bucket bucket2 on minio1.
    ./mc mb minio1/bucket2
    
    sleep 10
    
    # Test whether policy detach replicated to minio1
    policy=$(./mc admin user info minio1 foobarx --json | jq -r .policyName)
    if [ "${policy}" != "null" ]; then
    	echo "expected policy detach to have replicated, exiting..."
    	exit_1
    fi
    
    kill -9 ${site1_pid1} ${site1_pid2}
    
    # Update tag on minio2/newbucket when minio1 is down
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	// 6. Check that service account cannot be created for some other user.
    	c.mustNotCreateSvcAccount(ctx, globalActiveCred.AccessKey, userAdmClient)
    
    	// Detach the policy from the user
    	if _, err = s.adm.DetachPolicyLDAP(ctx, userReq); err != nil {
    		c.Fatalf("Unable to detach user policy: %v", err)
    	}
    }
    
    func (s *TestSuiteIAM) TestLDAPSTSServiceAccountsWithUsername(c *check) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  3. docs/sts/ldap.md

    ```sh
    mc idp ldap policy attach myminio mypolicy --user='uid=james,cn=accounts,dc=myldapserver,dc=com'
    ```
    
    ```sh
    mc idp ldap policy attach myminio mypolicy ----group='cn=projectx,ou=groups,ou=hwengg,dc=min,dc=io'
    ```
    
    To remove a policy association, use the similar `detach` command:
    
    ```sh
    mc idp ldap policy detach myminio mypolicy --user='uid=james,cn=accounts,dc=myldapserver,dc=com'
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users_test.go

    	}
    	_, ok := ps[policy1]
    	if !ok {
    		c.Fatalf("policy was missing!")
    	}
    
    	// Detach policy1 to set up for policy2
    	_, err = s.adm.DetachPolicy(ctx, madmin.PolicyAssociationReq{
    		Policies: []string{policy1},
    		User:     accessKey,
    	})
    	if err != nil {
    		c.Fatalf("unable to detach policy: %v", err)
    	}
    
    	// 3.2 associate policy to user
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    // operation, we fetch this info from storage, and refresh the cache as well.
    func (store *IAMStoreSys) ListGroups(ctx context.Context) (res []string, err error) {
    	cache := store.lock()
    	defer store.unlock()
    
    	return store.updateGroups(ctx, cache)
    }
    
    // listGroups - lists groups - fetch groups from cache
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  9. 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))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.29.md

    - Fixed attaching volumes after detach errors. Now volumes that failed to detach are not treated as attached. Kubernetes will make sure they are fully attached before they can be used by pods. ([#120595](https://github.com/kubernetes/kubernetes/pull/120595), [@jsafrane](https://github.com/jsafrane))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:37:31 UTC 2024
    - 375.1K bytes
    - Viewed (1)
Back to top