Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for Account (0.21 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. 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)
  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/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)
  5. 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)
  6. 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)
  7. cmd/admin-handlers-users.go

    	addExpirationToCondValues(updateReq.NewExpiration, condValues)
    
    	// Permission checks:
    	//
    	// 1. Any type of account (i.e. access keys (previously/still called service
    	// accounts), STS accounts, internal IDP accounts, etc) with the
    	// policy.UpdateServiceAccountAdminAction permission can update any service
    	// account.
    	//
    	// 2. We would like to let a user update their own access keys, however it
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  8. cmd/notification.go

    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.LoadGroup(group)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // DeleteServiceAccount - deletes a specific service account across all peers
    func (sys *NotificationSys) DeleteServiceAccount(accessKey string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  9. cmd/admin-router.go

    		// Service accounts ops
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/add-service-account").HandlerFunc(adminMiddleware(adminAPI.AddServiceAccount))
    		adminRouter.Methods(http.MethodPost).Path(adminVersion+"/update-service-account").HandlerFunc(adminMiddleware(adminAPI.UpdateServiceAccount)).Queries("accessKey", "{accessKey:.*}")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. cmd/iam-object-store.go

    		if _, ok := cache.iamUsersMap[svcParent]; !ok {
    			// If a service account's parent user is not in iamUsersMap, the
    			// parent is an STS account. Such accounts may have a policy mapped
    			// on the parent user, so we load them. This is not needed for the
    			// initial server startup, however, it is needed for the case where
    			// the STS account's policy mapping (for example in LDAP mode) may
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top