Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 496 for Account (0.28 sec)

  1. cmd/admin-handlers-users_test.go

    	c.assertSvcAccS3Access(ctx, s, cr, bucket)
    
    	// 3. Check that svc account can restrict the policy, and that the
    	// session policy can be updated.
    	c.assertSvcAccSessionPolicyUpdate(ctx, s, s.adm, accessKey, bucket)
    
    	// 4. Check that service account's secret key and account status can be
    	// updated.
    	c.assertSvcAccSecretKeyAndStatusUpdate(ctx, s, s.adm, accessKey, bucket)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  2. tests/preload_test.go

    	}
    
    	var users2 []User
    	DB.Preload("Account", clause.Eq{Column: "number", Value: users[0].Account.Number}).Find(&users2, "id IN ?", userIDs)
    	sort.Slice(users2, func(i, j int) bool {
    		return users2[i].ID < users2[j].ID
    	})
    
    	for idx, user := range users2[1:2] {
    		if user.Account.Number != "" {
    			t.Errorf("No account should found for user %v but got %v", idx+2, user.Account.Number)
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. tests/helper_test.go

    		"ManagerID", "Active")
    
    	t.Run("Account", func(t *testing.T) {
    		AssertObjEqual(t, user.Account, expect.Account, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Number")
    
    		if user.Account.Number != "" {
    			if !user.Account.UserID.Valid {
    				t.Errorf("Account's foreign key should be saved")
    			} else {
    				var account Account
    				db(unscoped).First(&account, "user_id = ?", user.ID)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. tests/create_test.go

    	user.Birthday = nil
    	user.Account = Account{}
    	user.Toys = nil
    	user.Manager = nil
    
    	CheckUser(t, result, user)
    
    	user2 := *GetUser("omit_create", Config{Account: true, Pets: 3, Toys: 3, Company: true, Manager: true, Team: 3, Languages: 3, Friends: 4})
    	DB.Omit(clause.Associations).Create(&user2)
    
    	var result2 User
    	DB.Preload(clause.Associations).First(&result2, user2.ID)
    
    	user2.Account = Account{}
    	user2.Toys = nil
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  5. internal/arn/arn.go

    package arn
    
    import (
    	"errors"
    	"fmt"
    	"regexp"
    	"strings"
    )
    
    // ARN structure:
    //
    // arn:partition:service:region:account-id:resource-type/resource-id
    //
    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    const (
    	arnPrefixArn        = "arn"
    	arnPartitionMinio   = "minio"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/files/waypoint.yaml

      namespace: {{.Namespace | quote}}
      annotations:
        {{- toJsonMap (omit .InfrastructureAnnotations "kubectl.kubernetes.io/last-applied-configuration" "gateway.istio.io/name-override" "gateway.istio.io/service-account" "gateway.istio.io/controller-version") | nindent 4 }}
      labels:
        {{- toJsonMap
          .InfrastructureLabels
          (strdict
            "gateway.networking.k8s.io/gateway-name" .Name
            "istio.io/gateway-name" .Name
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 27 16:55:16 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/ldap.go

    }
    
    // GetNonEligibleUserDistNames - find user accounts (DNs) that are no longer
    // present in the LDAP server or do not meet filter criteria anymore
    func (l *Config) GetNonEligibleUserDistNames(userDistNames []string) ([]string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = l.LDAP.LookupBind(conn); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    		// For STS policy map, we need to merge the new cache with the existing
    		// cache because the periodic IAM reload is partial. The periodic load
    		// here is to account for STS policy mapping changes that should apply
    		// for service accounts derived from such STS accounts (i.e. LDAP STS
    		// accounts).
    		newCache.iamSTSPolicyMap.Range(func(k string, v MappedPolicy) bool {
    			cache.iamSTSPolicyMap.Store(k, v)
    			return true
    		})
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  9. cmd/admin-handlers-idp-ldap.go

    	// account or STS account):
    	requestorUser := cred.AccessKey
    	requestorParentUser := cred.AccessKey
    	requestorGroups := cred.Groups
    	requestorIsDerivedCredential := false
    	if cred.IsServiceAccount() || cred.IsTemp() {
    		requestorParentUser = cred.ParentUser
    		requestorIsDerivedCredential = true
    	}
    
    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc ls rootsvc
    if [ $? -ne 0 ]; then
    	echo "root service account not inherited root permissions, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio1 testsvc
    if [ $? -ne 0 ]; then
    	echo "svc account not mirrored, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio2 testsvc
    if [ $? -ne 0 ]; then
    	echo "svc account not mirrored, exiting.."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top