Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getUsersSysType (0.12 sec)

  1. cmd/iam-store.go

    func (store *IAMStoreSys) listGroups(ctx context.Context) (res []string, err error) {
    	cache := store.rlock()
    	defer store.runlock()
    
    	if store.getUsersSysType() == MinIOUsersSysType {
    		for k := range cache.iamGroupsMap {
    			res = append(res, k)
    		}
    	}
    
    	if store.getUsersSysType() == LDAPUsersSysType {
    		cache.iamGroupPolicyMap.Range(func(k string, _ MappedPolicy) bool {
    			res = append(res, k)
    			return true
    		})
    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

    	requestorIsDerivedCredential := false
    	if cred.IsServiceAccount() || cred.IsTemp() {
    		requestorParentUser = cred.ParentUser
    		requestorIsDerivedCredential = true
    	}
    
    	if globalIAMSys.GetUsersSysType() == MinIOUsersSysType && targetUser != cred.AccessKey {
    		// For internal IDP, ensure that the targetUser's parent account exists.
    		// It could be a regular user account or the root account.
    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

    }
    
    func (iamOS *IAMObjectStore) lock() *iamCache {
    	iamOS.Lock()
    	return iamOS.iamCache
    }
    
    func (iamOS *IAMObjectStore) unlock() {
    	iamOS.Unlock()
    }
    
    func (iamOS *IAMObjectStore) getUsersSysType() UsersSysType {
    	return iamOS.usersSysType
    }
    
    func (iamOS *IAMObjectStore) saveIAMConfig(ctx context.Context, item interface{}, objPath string, opts ...options) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. cmd/iam.go

    }
    
    // SetUsersSysType - sets the users system type, regular or LDAP.
    func (sys *IAMSys) SetUsersSysType(t UsersSysType) {
    	sys.usersSysType = t
    }
    
    // GetUsersSysType - returns the users system type for this IAM
    func (sys *IAMSys) GetUsersSysType() UsersSysType {
    	return sys.usersSysType
    }
    
    // NewIAMSys - creates new config system object.
    func NewIAMSys() *IAMSys {
    	return &IAMSys{
    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