Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for useStyle (0.18 sec)

  1. cmd/iam-object-store.go

    	err := iamOS.deleteIAMConfig(ctx, getMappedPolicyPath(name, userType, isGroup))
    	if err == errConfigNotFound {
    		err = errNoSuchPolicy
    	}
    	return err
    }
    
    func (iamOS *IAMObjectStore) deleteUserIdentity(ctx context.Context, name string, userType IAMUserType) error {
    	err := iamOS.deleteIAMConfig(ctx, getUserIdentityPath(name, userType))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    		userType := regUser
    		cred := ui.Credentials
    
    		if cred.IsServiceAccount() {
    			userType = svcUser
    		} else if cred.IsTemp() {
    			userType = stsUser
    		}
    
    		if usersToDelete.Contains(user) || usersToDelete.Contains(cred.ParentUser) {
    			// Delete this user account and its policy mapping
    			store.deleteMappedPolicy(ctx, user, userType, false)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 74.4K bytes
    - Viewed (2)
  3. cmd/iam-etcd-store.go

    	return ies.addUser(ctx, user, userType, u, m)
    }
    
    func (ies *IAMEtcdStore) addUser(ctx context.Context, user string, userType IAMUserType, u UserIdentity, m map[string]UserIdentity) error {
    	if u.Credentials.IsExpired() {
    		// Delete expired identity.
    		deleteKeyEtcd(ctx, ies.client, getUserIdentityPath(user, userType))
    		deleteKeyEtcd(ctx, ies.client, getMappedPolicyPath(user, userType, false))
    		return nil
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/compileTimeConstantProvider/Fe10IdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.java

      }
    
      @Test
      @TestMetadata("namedReference_userType.kt")
      public void testNamedReference_userType() {
        runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_userType.kt");
      }
    
      @Test
      @TestMetadata("namedReference_val.kt")
      public void testNamedReference_val() {
    Java
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Fri Feb 16 12:48:24 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. cmd/iam.go

    		}
    	}
    
    	userType := stsUser
    	updatedAt, addedOrRemoved, effectivePolicies, err = sys.store.PolicyDBUpdate(
    		ctx, dn, isGroup, userType, r.Policies, isAttach)
    	if err != nil {
    		return
    	}
    
    	// Notify all other MinIO peers to reload policy
    	if !sys.HasWatcher() {
    		for _, nerr := range globalNotificationSys.LoadPolicyMapping(dn, userType, isGroup) {
    			if nerr.Err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 19:09:19 GMT 2024
    - 69.9K bytes
    - Viewed (1)
  6. cmd/peer-rest-server.go

    	}
    
    	temp, err := strconv.ParseBool(mss.Get(peerRESTUserTemp))
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	userType := regUser
    	if temp {
    		userType = stsUser
    	}
    
    	if err = globalIAMSys.LoadUser(context.Background(), objAPI, accessKey, userType); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    // LoadGroupHandler - reloads group along with members list.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	userType := regUser
    	if globalIAMSys.GetUsersSysType() == LDAPUsersSysType {
    		userType = stsUser
    	}
    
    	updatedAt, err := globalIAMSys.PolicyDBSet(ctx, entityName, policyName, userType, isGroup)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 15:15:02 GMT 2024
    - 76K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // call entry and if so we resolve the constructor callee expression.
            val userType = expression.parent as? KtUserType ?: return expression
            val typeReference = userType.parent as? KtTypeReference ?: return expression
            val constructorCalleeExpression = typeReference.parent as? KtConstructorCalleeExpression ?: return expression
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Thu Mar 21 15:21:57 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  9. cmd/peer-rest-client.go

    func (client *peerRESTClient) LoadPolicyMapping(userOrGroup string, userType IAMUserType, isGroup bool) error {
    	_, err := loadPolicyMappingRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUserOrGroup: userOrGroup,
    		peerRESTUserType:    strconv.Itoa(int(userType)),
    		peerRESTIsGroup:     strconv.FormatBool(isGroup),
    	}))
    	return err
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. cmd/notification.go

    func (sys *NotificationSys) LoadPolicyMapping(userOrGroup string, userType IAMUserType, isGroup bool) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    		ng.Go(GlobalContext, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.LoadPolicyMapping(userOrGroup, userType, isGroup)
    		}, idx, *client.host)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
Back to top