Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for group2 (0.15 sec)

  1. internal/logger/targets.go

    	return tgts, errs
    }
    
    // Split targets into two groups:
    //
    //	group1 contains all targets of type t
    //	group2 contains the remaining targets
    func splitTargets(targets []Target, t types.TargetType) (group1 []Target, group2 []Target) {
    	for _, target := range targets {
    		if target.Type() == t {
    			group1 = append(group1, target)
    		} else {
    			group2 = append(group2, target)
    		}
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. cmd/iam.go

    		}
    
    		var normalizedGroups []string
    		for _, group := range groups {
    			// For a group, we store the normalized DN even if it not under a
    			// configured base DN.
    			validatedGroup, _, err := sys.LDAPConfig.GetValidatedGroupDN(conn, group)
    			if err != nil {
    				collectedErrors = append(collectedErrors, fmt.Errorf("could not validate `%s` exists in LDAP directory: %w", group, err))
    				continue
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    }
    
    verify_iam_content_in_new_minio() {
    	output=$(mc idp ldap policy entities new-minio --json)
    
    	groups=$(echo "$output" | jq -r '.result.policyMappings[] | select(.policy == "readwrite") | .groups[]')
    	if [ "$groups" != "cn=project.c,ou=groups,ou=swengg,dc=min,dc=io" ]; then
    		echo "Failed to verify groups: $groups"
    		exit 1
    	fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	if err == nil {
    		c.Fatalf("Expected to fail to create a user with no associated policy!")
    	}
    
    	// Set policy via group and validate policy assignment.
    	groupDN := "cn=projectb,ou=groups,ou=swengg,dc=min,dc=io"
    	err = s.adm.SetPolicy(ctx, policy, groupDN, true)
    	if err != nil {
    		c.Fatalf("Unable to set group policy: %v", err)
    	}
    
    	value, err = ldapID.Retrieve()
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.BypassGovernanceRetentionAction,
    			BucketName:      bucketName,
    			ObjectName:      objectName,
    			ConditionValues: conditions,
    			IsOwner:         owner,
    			Claims:          cred.Claims,
    		})
    	}
    	if globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  6. helm/minio/values.yaml

      exitCommand: ""
    
    ## List of command to run after minio install
    ## NOTE: the mc command TARGET is always "myminio"
    customCommands:
      # - command: "admin policy attach myminio consoleAdmin --group='cn=ops,cn=groups,dc=example,dc=com'"
    
    ## Additional Annotations for the Kubernetes Job customCommandJob
    customCommandJob:
      securityContext:
        enabled: false
        runAsUser: 1000
        runAsGroup: 1000
      resources:
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/grafana/replication/minio-replication-node.json

                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  8. cmd/metrics.go

    			return
    		}
    
    		cred := auth.Credentials{
    			AccessKey: claims.AccessKey,
    			Claims:    claims.Map(),
    			Groups:    groups,
    		}
    
    		// For authenticated users apply IAM policy.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PrometheusAdminAction,
    			ConditionValues: getConditionValues(r, "", cred),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/grafana/minio-dashboard.json

                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  10. .github/workflows/go-cross.yml

    name: Crosscompile
    
    on:
      pull_request:
        branches:
          - master
          - next
    
    # This ensures that previous jobs for the PR are canceled when the PR is
    # updated.
    concurrency:
      group: ${{ github.workflow }}-${{ github.head_ref }}
      cancel-in-progress: true
    
    permissions:
      contents: read
    
    jobs:
      build:
        name: Build Tests with Go ${{ matrix.go-version }} on ${{ matrix.os }}
        runs-on: ${{ matrix.os }}
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 09:25:58 GMT 2024
    - 970 bytes
    - Viewed (0)
Back to top