Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for MYGROUP (0.06 seconds)

  1. cmd/sts-handlers_test.go

      "foo": {
        "secretKey": "foobar123",
        "status": "enabled"
      }
    }
    `,
    		// Built-in groups should be imported without errors even if LDAP is
    		// enabled.
    		allGroupsFile: `{
      "mygroup": {
        "version": 1,
        "status": "enabled",
        "members": [
          "foo"
        ],
        "updatedAt": "2024-04-23T21:34:43.587429659Z"
      }
    }
    `,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  2. cmd/admin-handlers-users_test.go

    	err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	// 1. Add user to a new group
    	group := "mygroup"
    	err = s.adm.UpdateGroupMembers(ctx, madmin.GroupAddRemove{
    		Group:   group,
    		Members: []string{accessKey},
    	})
    	if err != nil {
    		c.Fatalf("Unable to add user to group: %v", err)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
Back to Top