Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for users (0.13 sec)

  1. cmd/admin-handlers-users.go

    		return
    	}
    
    	var targetAccount string
    
    	// If listing is requested for a specific user (who is not the request
    	// sender), check that the user has permissions.
    	user := r.Form.Get("user")
    	if user != "" && user != cred.AccessKey {
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  2. cmd/iam.go

    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    // UsersSysType - defines the type of users and groups system that is
    // active on the server.
    type UsersSysType string
    
    // Types of users configured in the server.
    const (
    	// This mode uses the internal users system in MinIO.
    	MinIOUsersSysType UsersSysType = "MinIOUsersSys"
    
    	// This mode uses users and groups from a configured LDAP
    	// server.
    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. cmd/iam-store.go

    			return true
    		}
    
    		if !usersSet.IsEmpty() && !usersSet.Contains(user) {
    			return true
    		}
    
    		ps := mappedPolicy.toSlice()
    		sort.Strings(ps)
    		r = append(r, madmin.UserPolicyEntities{
    			User:     user,
    			Policies: ps,
    		})
    		return true
    	})
    
    	stsMap := xsync.NewMapOf[string, MappedPolicy]()
    	for _, user := range users {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cmd/sts-handlers_test.go

    		c.Fatalf("import %d: Unable to get policy entities: %v", caseNum, err)
    	}
    
    	for _, entity := range policyQueryRes.PolicyMappings {
    		m := gotContent.ldapUserPolicyMappings
    		for _, user := range entity.Users {
    			m[user] = append(m[user], entity.Policy)
    		}
    		m = gotContent.ldapGroupPolicyMappings
    		for _, group := range entity.Groups {
    			m[group] = append(m[group], entity.Policy)
    		}
    	}
    
    	{
    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/api-errors.go

    	},
    	ErrAdminNoSuchUser: {
    		Code:           "XMinioAdminNoSuchUser",
    		Description:    "The specified user does not exist.",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrAdminNoSuchUserLDAPWarn: {
    		Code:           "XMinioAdminNoSuchUser",
    		Description:    "The specified user does not exist. If you meant a user in LDAP, use `mc idp ldap`",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrAdminNoSuchGroup: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. cmd/erasure-server-pool.go

    		})
    		if err != nil {
    			return nil, err
    		}
    
    		if deploymentID == "" {
    			// all pools should have same deployment ID
    			deploymentID = formats[i].ID
    		}
    
    		// Validate if users brought different DeploymentID pools.
    		if deploymentID != formats[i].ID {
    			return nil, fmt.Errorf("all pools must have same deployment ID - expected %s, got %s for pool(%s)", deploymentID, formats[i].ID, humanize.Ordinal(i+1))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    }
    
    func (s *xlStorage) getDeleteAttribute() uint64 {
    	attr := "user.total_deletes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/xl-storage_test.go

    		{"data/G_792/srv-tse/c/users/denis/documents/gestion!20locative/heritier/propri!E9taire/20190101_a2.03!20-!20m.!20heritier!20re!B4mi!20-!20proce!60s-verbal!20de!20livraison!20et!20de!20remise!20des!20cle!B4s!20acque!B4reurs!20-!204-!20livraison!20-!20lp!20promotion!20toulouse!20-!20encre!20et!20plume!20-!205!20de!B4c.!202019!20a!60!2012-49.pdf.ecc", errFileNameTooLong},
    		{"data/G_792/srv-tse/c/users/denis/documents/gestionlocative.txt", nil},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	if len(fanOutEntries) > 0 {
    		// Once signature is validated, check if the user has
    		// explicit permissions for the user.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PutObjectFanOutAction,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top