Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustNotUpload (0.17 sec)

  1. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("upload did not succeed got %#v", err)
    	}
    }
    
    func (c *check) mustNotUpload(ctx context.Context, client *minio.Client, bucket string) {
    	c.Helper()
    	_, err := client.PutObject(ctx, bucket, "some-object", bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Validate that the client from STS creds cannot upload any object as
    	// it is denied by the plugin.
    	c.mustNotUpload(ctx, minioClient, bucket)
    }
    
    func (s *TestSuiteIAM) TestOpenIDServiceAccWithRolePolicyUnderAMP(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
    	defer cancel()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
Back to top