Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for loadMappedPolicy (0.13 sec)

  1. cmd/iam-store.go

    		if parentIsRegularUser {
    			err = store.loadMappedPolicy(ctx, cred.ParentUser, regUser, false, cache.iamUserPolicyMap)
    		} else {
    			err = store.loadMappedPolicy(ctx, cred.ParentUser, stsUser, false, cache.iamSTSPolicyMap)
    		}
    	case regUser:
    		// For regular users, we load the mapped policy.
    		err = store.loadMappedPolicy(ctx, accessKey, userType, false, cache.iamUserPolicyMap)
    	default:
    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/iam-object-store.go

    			}
    			mappedPolicies[index] = userMP
    			return nil
    		}, index)
    	}
    
    	err := errors.Join(g.Wait()...)
    	return mappedPolicies, err
    }
    
    func (iamOS *IAMObjectStore) loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	p, err := iamOS.loadMappedPolicyInternal(ctx, name, userType, isGroup)
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. cmd/iam-etcd-store.go

    func (ies *IAMEtcdStore) loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error {
    	return ies.loadMappedPolicy(ctx, name, userType, isGroup, m)
    }
    
    func (ies *IAMEtcdStore) loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	var p MappedPolicy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top