Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for inGroup (0.11 sec)

  1. src/testing/slogtest/slogtest.go

    		},
    		checks: []check{
    			hasKey(slog.TimeKey),
    			hasKey(slog.LevelKey),
    			hasAttr(slog.MessageKey, "msg"),
    			hasAttr("a", "b"),
    			inGroup("G", hasAttr("c", "d")),
    			inGroup("G", inGroup("H", hasAttr("e", "f"))),
    		},
    	},
    	{
    		name:        "empty-group-record",
    		explanation: withSource("a Handler should not output groups if there are no attributes"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. src/packaging/common/scripts/preinst

            if ! id $FESS_USER > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_USER user..."
                adduser --quiet \
                        --system \
                        --no-create-home \
                        --ingroup "$FESS_GROUP" \
                        --disabled-password \
                        --shell /bin/false \
                        --home "$FESS_USER_HOME"  \
                        "$FESS_USER"
                echo " OK"
            fi
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    	return nil
    }
    
    func (iamOS *IAMObjectStore) loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error {
    	for {
    	retry:
    		var p MappedPolicy
    		err := iamOS.loadIAMConfig(ctx, &p, getMappedPolicyPath(name, userType, isGroup))
    		if err != nil {
    			if err == errConfigNotFound {
    				return errNoSuchPolicy
    			}
    			retries--
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. cmd/iam.go

    	if !sys.Initialized() {
    		err = errServerNotInitialized
    		return
    	}
    
    	userOrGroup := r.User
    	var isGroup bool
    	if userOrGroup == "" {
    		isGroup = true
    		userOrGroup = r.Group
    	}
    
    	if isGroup {
    		_, err = sys.GetGroupDescription(userOrGroup)
    		if err != nil {
    			return
    		}
    	} else {
    		var isTemp bool
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    	loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    	loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error
    	loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	policyName := vars["policyName"]
    	entityName := vars["userOrGroup"]
    	isGroup := vars["isGroup"] == "true"
    
    	if !isGroup {
    		ok, _, err := globalIAMSys.IsTempUser(entityName)
    		if err != nil && err != errNoSuchUser {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    // includes non-standard definitions from CLDR.
    func (r Region) IsCountry() bool {
    	if r == 0 || r.IsGroup() || r.IsPrivateUse() && r != _XK {
    		return false
    	}
    	return true
    }
    
    // IsGroup returns whether this region defines a collection of regions. This
    // includes non-standard definitions from CLDR.
    func (r Region) IsGroup() bool {
    	if r == 0 {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/language/language.go

    // includes non-standard definitions from CLDR.
    func (r Region) IsCountry() bool {
    	return r.regionID.IsCountry()
    }
    
    // IsGroup returns whether this region defines a collection of regions. This
    // includes non-standard definitions from CLDR.
    func (r Region) IsGroup() bool {
    	return r.regionID.IsGroup()
    }
    
    // Contains returns whether Region c is contained by Region r. It returns true
    // if c == r.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    		mp, ok := globalIAMSys.store.GetMappedPolicy(mapping.Policy, mapping.IsGroup)
    		if ok && mp.UpdatedAt.After(updatedAt) {
    			return nil
    		}
    	}
    
    	// When LDAP is enabled, we verify that the user or group exists in LDAP and
    	// use the normalized form of the entityName (which will be an LDAP DN).
    	userType := IAMUserType(mapping.UserType)
    	isGroup := mapping.IsGroup
    	entityName := mapping.UserOrGroup
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
Back to top