Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getUsersSysType (0.18 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/iam-etcd-store.go

    	ies.RUnlock()
    }
    
    func (ies *IAMEtcdStore) lock() *iamCache {
    	ies.Lock()
    	return ies.iamCache
    }
    
    func (ies *IAMEtcdStore) unlock() {
    	ies.Unlock()
    }
    
    func (ies *IAMEtcdStore) getUsersSysType() UsersSysType {
    	return ies.usersSysType
    }
    
    func (ies *IAMEtcdStore) saveIAMConfig(ctx context.Context, item interface{}, itemPath string, opts ...options) error {
    	data, err := json.Marshal(item)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/site-replication.go

    	// use the normalized form of the entityName (which will be an LDAP DN).
    	userType := IAMUserType(mapping.UserType)
    	isGroup := mapping.IsGroup
    	entityName := mapping.UserOrGroup
    	if globalIAMSys.GetUsersSysType() == LDAPUsersSysType && userType == stsUser {
    
    		// Validate that the user or group exists in LDAP and use the normalized
    		// form of the entityName (which will be an LDAP DN).
    		var err error
    		if isGroup {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top