Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for policyName (0.06 sec)

  1. cmd/admin-router.go

    		// Set user or group policy
    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/set-user-or-group-policy").
    			HandlerFunc(adminMiddleware(adminAPI.SetPolicyForUserOrGroup)).
    			Queries("policyName", "{policyName:.*}", "userOrGroup", "{userOrGroup:.*}", "isGroup", "{isGroup:true|false}")
    
    		// Attach/Detach policies to/from user or group
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. cmd/notification.go

    func (sys *NotificationSys) DeletePolicy(ctx context.Context, policyName string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    		ng.Go(ctx, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.DeletePolicy(ctx, policyName)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

    message ValidatingAdmissionPolicyBindingSpec {
      // PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to.
      // If the referenced resource does not exist, this binding is considered invalid and will be ignored
      // Required.
      optional string policyName = 1;
    
      // ParamRef specifies the parameter resource used to configure the admission control policy.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. cmd/sftp-server.go

    	cred.ParentUser = lookupResult.NormDN
    
    	// Set this value to LDAP groups, LDAP user can be part
    	// of large number of groups
    	cred.Groups = targetGroups
    
    	// Set the newly generated credentials, policyName is empty on purpose
    	// LDAP policies are applied automatically using their ldapUser, ldapGroups
    	// mapping.
    	updatedAt, err := globalIAMSys.SetTempUser(context.Background(), cred.AccessKey, cred, "")
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-minio-idp.sh

    	exit_1
    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)
  6. cmd/site-replication.go

    // causes the named policy to be deleted.
    func (c *SiteReplicationSys) PeerAddPolicyHandler(ctx context.Context, policyName string, p *policy.Policy, updatedAt time.Time) error {
    	var err error
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    		if p, err := globalIAMSys.store.GetPolicyDoc(policyName); err == nil && p.UpdateDate.After(updatedAt) {
    			return nil
    		}
    	}
    	if p == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("list users should not fail: %v", err)
    	}
    	if len(usersList) != 1 {
    		c.Fatalf("expected user listing output: %v", usersList)
    	}
    	uinfo := usersList[userDN]
    	if uinfo.PolicyName != policy || uinfo.Status != madmin.AccountEnabled {
    		c.Fatalf("expected user listing content: %v", uinfo)
    	}
    
    	// Validate that the client from sts creds can access the bucket.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

    	}
    	req, err := http.NewRequestWithContext(ctx, http.MethodPut, u.String(), nil)
    	if err != nil {
    		c.Fatalf("unexpected new request err: %v", err)
    	}
    	reqBodyArg := madmin.UserInfo{
    		SecretKey:  secretKey,
    		PolicyName: "consoleAdmin",
    		Status:     madmin.AccountEnabled,
    	}
    	buf, err := json.Marshal(reqBodyArg)
    	if err != nil {
    		c.Fatalf("unexpected json encode err: %v", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top