Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ListPolicyMappings (0.37 sec)

  1. cmd/iam-store.go

    	sort.Slice(policyEntities, func(i, j int) bool {
    		return policyEntities[i].Policy < policyEntities[j].Policy
    	})
    
    	return policyEntities
    }
    
    // ListPolicyMappings - return users/groups mapped to policies.
    func (store *IAMStoreSys) ListPolicyMappings(q cleanEntitiesQuery,
    	userPredicate, groupPredicate func(string) bool, decodeFunc func(string) string,
    ) madmin.PolicyEntitiesResult {
    	cache := store.rlock()
    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.go

    	}
    
    	if !sys.LDAPConfig.Enabled() {
    		return nil, errIAMActionNotAllowed
    	}
    
    	select {
    	case <-sys.configLoaded:
    		cleanQuery := sys.createCleanEntitiesQuery(q, true)
    		pe := sys.store.ListPolicyMappings(cleanQuery, sys.LDAPConfig.IsLDAPUserDN, sys.LDAPConfig.IsLDAPGroupDN, sys.LDAPConfig.DecodeDN)
    		pe.Timestamp = UTCNow()
    		return &pe, nil
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top