Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for loadMappedPolicies (0.16 sec)

  1. cmd/iam-store.go

    		// load polices mapped to users
    		if err := store.loadMappedPolicies(ctx, regUser, false, newCache.iamUserPolicyMap); err != nil {
    			return err
    		}
    
    		bootstrapTraceMsgFirstTime("loading group policy mapping")
    		// load policies mapped to groups
    		if err := store.loadMappedPolicies(ctx, regUser, true, newCache.iamGroupPolicyMap); err != nil {
    			return err
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    				writeErrorResponse(ctx, w, exportError(ctx, err, iamFile, ""), r.URL)
    				return
    			}
    		case userPolicyMappingsFile:
    			userPolicyMap := xsync.NewMapOf[string, MappedPolicy]()
    			err := globalIAMSys.store.loadMappedPolicies(ctx, regUser, false, userPolicyMap)
    			if err != nil {
    				writeErrorResponse(ctx, w, exportError(ctx, err, iamFile, ""), r.URL)
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    	p, err := iamOS.loadMappedPolicyInternal(ctx, name, userType, isGroup)
    	if err != nil {
    		return err
    	}
    	m.Store(name, p)
    	return nil
    }
    
    func (iamOS *IAMObjectStore) loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	var basePath string
    	if isGroup {
    		basePath = iamConfigPolicyDBGroupsPrefix
    	} else {
    		switch userType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top