Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for groups (0.33 sec)

  1. 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)
  2. cmd/iam-etcd-store.go

    	r, err := ies.client.Get(cctx, iamConfigGroupsPrefix, etcd.WithPrefix(), etcd.WithKeysOnly())
    	if err != nil {
    		return err
    	}
    
    	groups := etcdKvsToSet(iamConfigGroupsPrefix, r.Kvs)
    
    	// Reload config for all groups.
    	for _, group := range groups.ToSlice() {
    		if err = ies.loadGroup(ctx, group, m); err != nil && err != errNoSuchGroup {
    			return err
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. 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)
  4. cni/pkg/nodeagent/podcgroupns.go

    	reader := bytes.NewReader(procCgroupData.Bytes())
    	var cgroups []Cgroup
    	scanner := bufio.NewScanner(reader)
    
    	for scanner.Scan() {
    		token := scanner.Text()
    		substrings := strings.SplitN(token, ":", 3)
    		if len(substrings) < 3 {
    			return nil, fmt.Errorf("cgroup entry contains %v colons, but expected at least 2 colons: %q", len(substrings), token)
    		}
    		cgroups = append(cgroups, Cgroup{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    		// Add/Remove members from group
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/update-group-members").HandlerFunc(adminMiddleware(adminAPI.UpdateGroupMembers))
    
    		// Get Group
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/group").HandlerFunc(adminMiddleware(adminAPI.GetGroup)).Queries("group", "{group:.*}")
    
    		// List Groups
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers-idp-ldap.go

    )
    
    // ListLDAPPolicyMappingEntities lists users/groups mapped to given/all policies.
    //
    // GET <admin-prefix>/idp/ldap/policy-entities?[query-params]
    //
    // Query params:
    //
    //	user=... -> repeatable query parameter, specifying users to query for
    //	policy mapping
    //
    //	group=... -> repeatable query parameter, specifying groups to query for
    //	policy mapping
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/ldap.go

    		return "", nil, errRet
    	}
    
    	// Bind to the lookup user account again to perform group search.
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return "", nil, err
    	}
    
    	// User groups lookup.
    	groups, err := l.LDAP.SearchForUserGroups(conn, username, bindDN)
    	if err != nil {
    		return "", nil, err
    	}
    
    	return bindDN, groups, nil
    }
    
    // GetExpiryDuration - return parsed expiry duration.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    	}
    
    	// Set the parent of the temporary access key, this is useful
    	// in obtaining service accounts by this cred.
    	cred.ParentUser = ldapUserDN
    
    	// Set this value to LDAP groups, LDAP user can be part
    	// of large number of groups
    	cred.Groups = groupDistNames
    
    	// Set the newly generated credentials, policyName is empty on purpose
    	// LDAP policies are applied automatically using their ldapUser, ldapGroups
    	// mapping.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  9. cmd/sftp-server-driver.go

    			// Set the parent of the temporary access key, this is useful
    			// in obtaining service accounts by this cred.
    			cred.ParentUser = targetUser
    
    			// Set this value to LDAP groups, LDAP user can be part
    			// of large number of groups
    			cred.Groups = targetGroups
    
    			// Set the newly generated credentials, policyName is empty on purpose
    			// LDAP policies are applied automatically using their ldapUser, ldapGroups
    			// mapping.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    		Group:    group,
    		IsRemove: true,
    	})
    	if err != nil {
    		c.Fatalf("group update err: %v", err)
    	}
    	groups, err = s.adm.ListGroups(ctx)
    	if err != nil {
    		c.Fatalf("group list err: %v", err)
    	}
    	if set.CreateStringSet(groups...).Contains(group) {
    		c.Fatalf("created group still present!")
    	}
    	_, err = s.adm.GetGroupDescription(ctx, group)
    	if err == nil {
    		c.Fatalf("group appears to exist")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
Back to top